The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#11
|
||||
|
||||
Alright, find this in index.php (in your main forums directory) file:
Code:
$getnewestusers=$DB_site->query_first("SELECT userid,username FROM user WHERE userid=$numbersmembers[max]"); Code:
$respected = $DB_site->query_first("SELECT userid,username FROM user WHERE usergroupid = '8' ORDER BY joindate DESC LIMIT 1"); |
#12
|
|||
|
|||
Great Hack! I had to modify it to suit my needs, of course, but it works great!
|
#13
|
||||
|
||||
Glad you like it. leased:
|
#14
|
||||
|
||||
Many thanks Commish, I finally got this hack installed after getting some other things working. One thing I noticed is that it changed the name, but the # of registered members is still the number of registered users INCLUDING the person that hasn't clicked their verify link yet.
Is there a way to have the registered number match who has and hasn't clicked their verify link? |
#15
|
||||
|
||||
Yes. Around line 51, you'll see this line of code:
Code:
$numbersmembers=$DB_site->query_first('SELECT COUNT(*) AS users,MAX(userid) AS max FROM user'); Code:
$numbersmembers=$DB_site->query_first("SELECT COUNT(*) AS users,MAX(userid) AS max FROM user WHERE usergroupid != '-3'"); |
#16
|
||||
|
||||
Well I don't know if it worked since I didn't have somebody register and I guess I wont really know until I see somebodies name in there and I check the number and their usergroup.
Thanks though commish you respond fast too. Me likes that. Maybe you can help me on my PM box problem too. I moved it from the bottom to the top, but when I did that I lost the small left table where the little icon/lightbulb thingy goes and it's centered. If you don't know what I am talking about you can hit this page up and see: http://www.theforumz.com/forumz/index.php Any help you could offer on this would be of great help as well. Thanks for your help already too. :up: |
#17
|
||||
|
||||
I'm not sure what's wrong -- you've mucked up your code pretty bad though, for some reason. Check this out:
Code:
<tr id="cat"> <td bgcolor="000000" colspan="5"><a href="private.php?s=" title="Click Here to Open Your Private Messages Inbox"><font face="verdana, arial, helvetica" size="2" color="FFFFFF"><b>Private Messages</font></b></a></td> </tr> <tr> <td bgcolor="383838" align="center" valign="top"><img src="images/off.gif" alt=""></td> <td bgcolor="333232" colspan="4"><font face="verdana,arial,helvetica" size="1" > <b>TWTCommish</b> - You have 0 new message(s) since your last visit.<br> (You have 0 unread messages and 0 total messages in all your folders.)</font></td> </tr> </tr> |
#18
|
||||
|
||||
Is all I did was moved the $pminfo up in the template that's it. And I don't think I ever messed up pmloggedinusers so that should be messed up entier.
I tried changing that to left and all it does is move the blue square over to the left, but the text stays centered. I think it was using that table seperation from the forumbits or something. |
#19
|
||||
|
||||
Try changing this...
Code:
<tr> <td bgcolor="383838" align="center" valign="top"><img src="images/off.gif" alt=""></td> <td bgcolor="333232" colspan="4"><font face="verdana,arial,helvetica" size="1" > <b>TWTCommish</b> - You have 0 new message(s) since your last visit.<br> (You have 0 unread messages and 0 total messages in all your folders.)</font></td> </tr> Code:
<tr> <td bgcolor="#383838" width="10%" align="left" valign="top"><img src="images/off.gif" alt=""></td> <td bgcolor="#333232" width="90%" colspan="4"><font face="verdana,arial,helvetica" size="1" > <b>TWTCommish</b> - You have 0 new message(s) since your last visit.<br> (You have 0 unread messages and 0 total messages in all your folders.)</font></td> </tr> |
#20
|
||||
|
||||
You are looking at the html source which does look fawkered.
here's part of the source from the pmloggedin template: PHP Code:
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|