Someone mentioned earlier about having portal integration issues with this hack..
lm currently getting the following issue:
Warning: Unknown(./includes/vba_global_error.php): failed to open stream: No such file or directory in /includes/functions.php(2658) : eval()'d code on line 1
Fatal error: (null)() [function.require]: Failed opening required './includes/vba_global_error.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/anime/public_html/forum/includes/functions.php(2658) : eval()'d code on line 1
l know it has something to do with vbadvanced wanting to look for it in a place it doesnt exist but lm no coder so dont have the knowledge to edit more than one or two things that lm used to...
someone mentioned disabling custom pages or something but l couldnt find the settings that mentioned this hack and well we have custom pages that are needed hence if it can specifically be disabled for the portal, or work it would be useful...
on a side note l did work out how to hide the option from staff other than admins, its not perfect but it worked well enough which l saw mentioned so l thought l would add my template edits that removed the option from the thread tools and specifically only let ID6 (administrators) edit the thread settings of this hack
heres the code we used (its simple but worked without causing errors
Code:
find:
--------------------------------------------------------------------
<div><label for="ao_rrd"><input type="radio" name="do" id="ao_rrd" value="removeredirect" />$vbphrase[remove_redirects]</label></div>
--------------------------------------------------------------------
AFTER place this:
--------------------------------------------------------------------
<!-- Start Abe1 Force Users to Read a Thread -->
<if condition="$bbuserinfo['usergroupid'] == 6">
<div><label for="ao_mfr"><input type="radio" name="do" id="ao_mfr" value="forceread" />$vbphrase[manage_force_thread_reading]</label></div>
</if>
<!-- End Abe1 Force Users to Read a Thread -->
--------------------------------------------------------------------
find:
--------------------------------------------------------------------
<option value="removeredirect">$vbphrase[remove_redirects]</option>
--------------------------------------------------------------------
AFTER place this:
--------------------------------------------------------------------
<!-- Start Abe1 Force Users to Read a Thread -->
<if condition="$bbuserinfo['usergroupid'] == 6">
<option value="forceread">$vbphrase[manage_force_thread_reading]</option>
</if>
<!-- End Abe1 Force Users to Read a Thread -->
--------------------------------------------------------------------