![]() |
Thanks for the help.
Sorry...Same error as I was getting. Fatal error: Call to a member function on a non-object But your code seems much nicer. |
Quote:
|
You did remove all of the code that you added earlier right? You could try adding this to a fresh (unhacked) functions.php to see if it works.
|
Pondering...Can't see why it would not work, after all, it is just a call to the DB to look up a status and set a value.
Note...I am also using this if it makes a difference... Code:
if (($bbuserinfo[usergroupid] ==5) || ($bbuserinfo[usergroupid] ==6) || ($bbuserinfo[usergroupid] ==7) or ($post[username] == $bbuserinfo[username])) { |
That shouldn't make any difference.
|
Code is as such...
Code:
if (($bbuserinfo[usergroupid] ==5) || ($bbuserinfo[usergroupid] ==6) || ($bbuserinfo[usergroupid] ==7) or ($post[username] == $bbuserinfo[username])) { May I send you my test functions.php file vai e-mail? If so, please be so kind to PM me your address. |
Try it on an unhacked functions.php and see what happens..
Also make sure you have the code placed in the right place (above this): //highlight words for search engine I'm using 2.2.8 and its working like a champ for me. |
If I did that, some other items would surely fail. :) (That being to put in a fresh functions.php)
|
It does not like this line it seems...
Code:
$subscribed=$DB_site->query_first("SELECT subscribethreadid FROM subscribethread WHERE threadid='$pthreadid' AND userid='$subuserid' LIMIT 1"); |
Quote:
|
All times are GMT. The time now is 03:49 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|