![]() |
Quote:
OMG it worked woohooo i love you man :D :bunny: |
congrats. ;)
|
really graet hack thx :)
|
Yeah, including guests would be a great addition... :)
|
FireFly, please post how to put number of users in forumhome near forum[title]. Please.
|
Quote:
Code:
- <smallfont>($browsers members browsing)</smallfont> |
i noticed a little bug in the hack. if i browse a forum and i go back to the forumhome, it still shows that i'm browsing that forum... this is present here at vB.org also. try this. go to an empty forum (0 users browsing), then click on [vBulletin.org Forum >] navigation link at the top. it will still show that you are there. if you refresh the page it goes away... any way to fix this?
thanks. PS. i still think of a issue to that LEFT JOIN for guests, that i asked earlier in that thread... but i cant index it, i get a database error... |
That's a bug in vBulletin, not this hack.
To fix it, add a call to updateuserforum() in index.php like this: Code:
updateuserforum(0); |
What am I doing wrong, I still get a separate query for each forum I have, but I followed FireFly's instructions only, not Neo's.... :/
66 queries on index page.. :'( |
thanks firefly. do you think is a good idea to add the guests to the list of browsers?
|
You cannot.
|
Hmmm...
Twould be interesting to say the least... [high]* Chris M nods profusely... [/high] /me's alter-ego concurs... :D Satan |
how would one align it too the right next too the posts?
|
firefly, can i ask you to explain to me why i cannot index twice the same field (on 2 different tables) in database? i tried to add inforum to session and used also INDEX (inforum) but i get a database error.
i saw that you cannot LEFT JOIN session. let me know where i go wrong. if i have a inforum field in session, i could do a LEFT JOIN session and include also the guests that browse the specific forum (in theory?)... i would like to understand a little more the mystery of LEFT JOINs to other tables. it's clear to me the mechanism of associating 2 tables info.. let me know if i should start a thread related to this in General Hacking Discussion. thanks. |
Neo,
How many places and where do I need to change the colspan from 6 to 7 to have the top bar show right after I add this hack? Thanks in advance. |
That is a template edit inetd and I will take a look into the LEFT JOIN nakkid... I am very busy today O_O
|
Firefly,
Where and how would you add this exactly? And could you also put it in the forumdisplay.php or wouldn't it work there? updateuserforum(0); eval("dooutput(\"".gettemplate('forumhome')."\");" ); |
It works well for me in forumdisplay.php.. just follow the first instructions I posted.
|
I did follow the instructions in the file to a T. I wasn't sure if I needed to add that code to either of the files Firelfy mentioned. If I do, I have no idea where to add them or how to "call" them as he put it. (Sorry for being a newbie.) :-)
|
Quote:
at the moment at my forum its right next to the forum name like this: eg: General Chat (10 members browsing) i want it like this: General Chat **********************(10 members browsing) but without the *'s just a big space so it all stays to the right. cheers |
make a table.. in the left cell you put the title and in the right one the browsers..
|
Quote:
Code:
<td bgcolor="{ firstaltcolor }" align="left"><a href="forumdisplay.php?s=$session[sessionhash]&forumid=$forum[forumid]"> Code:
<td bgcolor="{ firstaltcolor }"> |
how can i have it like firefly has it ONLY! No New Column?
|
Look Up One Post
|
Well Neo, if you don't mind I have a addition to that hack. It will say "1 users" how it is, but I added a little bit and now it will say "1 user" and then "2 users" respectively.
I'll post if, but if you won't allow it then I will remove it. Instead of add this: PHP Code:
PHP Code:
Then you have to change the counter to something like this: Code:
($count user$s browsing) Hope you like ;) |
Quote:
|
Ummm damn. All I get is grey boxes on the right side of my screen when I add this hack.. Can someone show me what I did wrong?
|
Oh wow.. it worked.. kinda. I just noticed it, because it isn't how vb.org has it set up... but I did end up getting those annoying grey blocks on my page.. how do i get rid of those?
|
Quote:
|
May Jesus have mercy on my soul....
I've attempted to make it look the way vb.org has it and screwed up alot of shi@t |
Ok, I have some of it fixed...
Question - In subforums, I added the same code as I did for the main page.. <code> <td bgcolor="{firstaltcolor}"> <table width=100% cellspacing="0" cellpadding="0" border="0"> <tr> <td align="left"> <a href="forumdisplay.php?s=$session[sessionhash]&forumid=$forum[forumid]"><normalfont><b>$forum[title]</b></normalfont></a></td> <td width="35%" align="right" valign="top"> <smallfont>($browsers members browsing)</smallfont></td> </tr> <td colspan="2"> <smallfont>$forum[description]</smallfont> </td> </tr> </table> </td> </code> But the Members browsing appears exactly right after the forum description, so if the forum has no description, it is almost all the way over to the left. Also.. none of the forums are picking up any members in them Take a look and tell me what I'm doing wrong... http://www.superherochat.com/vb |
Did you add the code to index.php and forumdisplay.php? If you don't add that, then it won't work correctly.
Also, if you want it to not add the "s" if there is only one member, then use the code I posted ;) |
I'having a problem with my forums thing is i added all the chanegd neo supplyed but only thing is i'm getting an un finished </tr> or </td> somewhere cuz my forums is messed up ....
this is what it looked like now my forums messed up i get these grey unclosed tables wtf is up with this can someone tell me what to do |
Quote:
Got any idea about the second table data not aligning to the right on the first table row with the "forum title" and the "($browsers members browsing)"? It works just fine on then main page, but in the subforums, it aligns both table data's to the left, even though I've specified right. |
Ok, I figured out why it wasn't counting the users.. it's not $browsers, it supposed to be $count...
Now if I can just get the second table data to align to the right in the subforums... |
i looked around iin my templates and i got a friend of mine to work with me on it and we got ti it was innew posts
somewhere ti was about the colums and stuff |
Anyone know why it won't align to the right on the sub-forums?
|
is it doign that to you??? watlord?? thats what it did to me too
|
I have a very minor problem. When adding this, it added an extra column (split the category table into 2 columns instead of 1). The extra column just has a black background. How can I fix this?
|
Quote:
Quote:
|
All times are GMT. The time now is 04:21 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:
|