![]() |
[QUOTE]Originally posted by ptbyjason
Sure In the usercp.php I can't find ***** $sql="SELECT userid,username,invisible,lastactivity ***** Right, thats this rule on 20: $sql="SELECT DISTINCT session.lastactivity, user.userid,username,session.userid AS online,invisible,away (i have added away on the end) |
Ok, now that was what I needed. Thank you so much Lesane. Now last question before I change this. Since I have changed the code I was looking for, do I put the code in that is says in the original install or do I need to alter it in anyway?
|
Here are the instructions for the usercp.php code.
|
The whole database goes down and I get the following error when I follow the instructions:
Parse error: parse error in /business/bclapp/html/vbulletin/admin/functions.php on line 2103 Fatal error: Call to undefined function: getuserinfo() in /business/bclapp/html/vbulletin/admin/sessions.php on line 327 This is the code I put in from the for functions.php PHP Code:
Lesane, I am so sorry that I haven't gotten this down yet. I haven't had any trouble installing anything until this one. Adding this: functions.php line 2103 $DB_site->query("DELETE FROM post WHERE postid IN ($postids"."0)"); Sessions.php is still original. |
D'oh figured it out. Sorry. Who would have thought placing a code after what it is suppose to replace in functions.php could cause the problem? jk :)
Thank you for your patience Lesane, I couldn't have done it without you. |
Your welcome :), so it works fine now?
|
It works perfectly now Lesane. I couldn't be happier. :D
|
Hi Bira,
i have a little problem viewing my modifie_profile template, wenn i add an bithday, the day and the month of the birthday is also showing in the selectboxes of your hack, i tried to get it work but it doesn't. here the template: PHP Code:
PHP Code:
Sorry but the template is in german, i hope you understand this so far ;) |
Tarion, yes, that was a mistake I made which FireFly commented about in the first page of this thread :)
You need to change all the $xxxxxselected> in the template to $xxxxxaway> (replace 'selected' with 'away'). Then, in member.php, find: Code:
$dayname = "day".$returndate[2]."selected"; Code:
$dayname = "day".$returndate[2]."[high]away[/high]"; |
[QUOTE]Originally posted by Remi
Hi Bira It is me, again :D what can I do, I love your hacks :D Is this hack compatable with tha Random Password hack. I noticed this in the /root/member.php $bbuserinfo[usergroupid]'$changepw $awaysql WHERE userid='$bbuserinfo[userid]' is that the right order Thanks |
All times are GMT. The time now is 11:01 AM. |
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:
|