Flagged topics (orca) - SOLUTION

misiaczek posted 1st of October 2008 in Community Voice. 12 comments.

Many people complained at the forums that flagged topics in orca are not working as it should:

Access denied. You must have special permissions to access this area or you are not logged in.

This message was displayed when one click on a flagged topic. It was exatcly the same in my case and you can see that even here at Unity you cannot display flagged topic.

To fix this:

open ./orca/classes/Forum.php

find: {$r['topic_title']} (somewhere around line #620)

change to: {$r['topic_uri']}

Dead simple - and works for me. I wonder why this was not solved so far (maybe it was, but I just could not find it?) - please test and comment!

Do not forget to compile language to apply changes. Same changes required for orca groups.

Update: PLease find the following piece of code, line 620, then change first occurence of topic_title to topic_uri

<topic id="{$r['topic_id']}" new="$new_topic" lpt="{$r['last_post_when']}" lut="{$user_last_act}">
<uri>{$r['topic_title']}</uri>
<title>{$r['topic_title']}</title>
<desc>{$td}</desc>
<count>{$r['count_posts']}</count>
<last_u>{$lp['user']}</last_u>
<last_d>{$lp['when']}</last_d>
<first_u>{$fp['user']}</first_u>
<first_d>{$fp['when']}</first_d>
</topic>

 
Comments
·Oldest
·Top
Please login to post a comment.
Stuart038
I notice it says uri - should that be url?
change to: {$r['topic_uri']}
Stuart038
There are many such entries in forum.php, can you give some more surrounding code for comparison?
handsconnect
see moreLine 620 You will see topic_title twice

<topic id="{$r['topic_id']}" new="$new_topic" lpt="{$r['last_post_when']}" lut="{$user_last_act}">
<uri>{$r['topic_title']}</uri>
<title>{$r['topic_title']}</title>
<desc>{$td}</desc>
<count>{$r['count_posts']}</count>
<last_u>{$lp['user']}</last_u>
<last_d>{$lp['when']}</last_d>
<first_u>{$fp['user']}</first_u>
<first_d>{$fp['when']}</first_d>
</topic>
Stuart038
Handsconnect - many thanks!

Stuart
Stuart038
see more"Line 620 You will see topic_title twice"

Which one do I modify or should I modify both?

<topic id="{$r['topic_id']}" new="$new_topic" lpt="{$r['last_post_when']}" lut="{$user_last_act}">
<uri>{$r['topic_title']}</uri>
<title>{$r['topic_title']}</title>
<desc>{$td}</desc>
<count>{$r['count_posts']}</count>
<last_u>{$lp['user']}</last_u>
<last_d>{$lp['when']}</last_d>
<first_u>{$fp['user']}</first_u>
<first_d>{$fp['when']}</first_d>
</topic>
Stuart038
That worked beautifully!! Many thanks!

Stuart
misiaczek
sorry I should be more specific, updated the post with more code..
misiaczek
Latest info from the Boonex support - of course, they fixed it already and it will be included in the next release - shame they cannot update their own website, it is really useful feature - helps keeping my 'favourites' tidy :)
gameutopia
Works perfect with firefox 3x, doesn't work with ie6, and don't have ie7 to test. Certainly fixes firefox though. Go figure why firefox works but not ie6.

Also it's atypical that they won't fix or post a patch or fix. Will release in next version. This is a common thing for sites that grow too big for their shoes. When you start to see things like this it often leans towards the company has shifted from a small to medium I support my members, to a medium to larger scale I have more important things see more on my mind to worry about some piddly issue.

This is too bad but it happens all the time. The bigger issue is exploits. If a company don't care to release updates regarding this and wont admit it, than at some point it becomes apparent it is time to move on.
misiaczek
Just tried in IE6 - works fine here...
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.
PET:0.059602975845337