Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 2.x > vBulletin 2.x Full Releases
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
# of users in forum on forumhome Details »»
# of users in forum on forumhome
Version: 1.00, by Neo Neo is offline
Developer Last Online: Dec 2009 Show Printable Version Email this Page

Version: 2.2.x Rating:
Released: 04-28-2002 Last Update: Never Installs: 64
 
No support by the author.

Ok here it is.. I have seen a few requests for it... so here it is.

Info:
What it does is show the number users in a forums on your forum home / main page.


Install Info:
2 File Adds
6 template edits


Thats it. I will post images below if you need an idea of what it looks like

Here is the new version of it. " Thanks Chen :bunny: "
The first file will be posted below it you need to unistall or would like to use it O__O

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #92  
Old 05-16-2002, 10:54 AM
Ihsahn Ihsahn is offline
 
Join Date: Mar 2002
Posts: 14
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by Warlord
I don't think you guys understand my problem... (either that or I'm not understanding your solution.)

Ok, I have this hack set up the way vbulletin.org has it installed, so that it shows the users browsing a forum in the forum description. On the forumhome page (the main page) i.e.

http://www.superherochat.com/vb

the "(1 user browsing)" etc aligns to the right in the forum description. This is the way I want it.

However when I go into subforums, i.e.

http://www.superherochat.com/vb/foru...php?forumid=10

the "(1 users browsing)" doesn't align to the right in the forum description. I've used the same code in both instances, why does it not work in the subforums?

May u share your code for the forumhome ... it doesn't work for me ... pleaze

Thx
Ihsahn
Reply With Quote
  #93  
Old 05-16-2002, 11:01 AM
Wolf42's Avatar
Wolf42 Wolf42 is offline
 
Join Date: Nov 2001
Location: Vienna, Austria, Europe
Posts: 150
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Works great, thx neo!
Reply With Quote
  #94  
Old 05-19-2002, 01:53 AM
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Location: Des Moines, IA (USA)
Posts: 15,776
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

FWC,

I had to rework this a little to get it to still have the full box mouse-over, but I figured it out and it works great, thanks!

Now, I know this is a little off topic, but if you can do this, then moving the "Report this Post to Moderator" and "IP Logged" to the bottom of the message box, should be easy for you. How about it?

Quote:
Originally posted by FWC
In forumhome_forumbit_level2_post take the default:
Code:
<td bgcolor="{ firstaltcolor }" align="left"><a href="forumdisplay.php?s=$session[sessionhash]&forumid=$forum[forumid]">
<normalfont><b>$forum[title]</b></normalfont></a>
	<br><smallfont>$forum[description]</smallfont></td>
and change it to something like this:
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>
Don't forget to remove the spaces around firstaltcolor.
Reply With Quote
  #95  
Old 05-19-2002, 05:22 AM
FWC's Avatar
FWC FWC is offline
 
Join Date: Oct 2001
Location: Ontario, CA
Posts: 821
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by Boofo
Now, I know this is a little off topic, but if you can do this, then moving the "Report this Post to Moderator" and "IP Logged" to the bottom of the message box, should be easy for you. How about it?

I took the easy way out. I replaced the links with images and moved them to the bottom of the post bit next to the Edit and Quote buttons.
Reply With Quote
  #96  
Old 05-19-2002, 06:02 AM
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Location: Des Moines, IA (USA)
Posts: 15,776
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I know, I thought of doing that myself, but wouldn't it make you feel good just to do it so you can say you did it? (Is any of this working in my favor?)
Reply With Quote
  #97  
Old 06-04-2002, 10:11 PM
desi desi is offline
 
Join Date: Jun 2002
Posts: 67
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

could some pls post an update code to to add ( users browsing )
in the forum like it is at vbulletin.org

thankx for the help

desi
Reply With Quote
  #98  
Old 06-05-2002, 12:18 AM
Warlord's Avatar
Warlord Warlord is offline
 
Join Date: Jan 2002
Location: TN, USA
Posts: 668
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The template for forumhome_forumbit_level2_post should look like this for it to appear the same way vbulletin.org has it set up...

Code:
<tr align="center">
	<td bgcolor="{secondaltcolor}" valign="top"><img src="{imagesfolder}/$forum[onoff].gif" border="0" alt=""></td>
	<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>($count members browsing)</smallfont></td>
</tr>
<td colspan="2">
<smallfont>$forum[description]</smallfont>
</td>
</tr>
</table>
</td>
	<td bgcolor="{secondaltcolor}"><normalfont>$forum[replycount]</normalfont></td>
	<td bgcolor="{firstaltcolor}"><normalfont>$forum[threadcount]</normalfont></td>
	<td bgcolor="{secondaltcolor}"><smallfont>$forum[lastpostinfo]</smallfont></td>
	<td bgcolor="{firstaltcolor}"><smallfont>$forum[moderators]</smallfont></td>
</tr>
Reply With Quote
  #99  
Old 06-05-2002, 05:14 AM
desi desi is offline
 
Join Date: Jun 2002
Posts: 67
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

will try it out right now thankx
Reply With Quote
  #100  
Old 06-05-2002, 05:23 AM
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Location: Des Moines, IA (USA)
Posts: 15,776
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I feel stupid for even asking this, but what template do you edit to have this display in the subforums? I tried to put it in the forumhome_forumbit_level1_post but it didn't show up in the subforums. :nervous:

Quote:
Originally posted by Warlord
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="#13486D">
<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
Reply With Quote
  #101  
Old 06-05-2002, 06:30 AM
desi desi is offline
 
Join Date: Jun 2002
Posts: 67
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

damn my board got all screwed up ..... i got this message after doing the above

Database error in vBulletin 2.2.5:

Invalid SQL: SELECT userid,username
FROM user
WHERE userid<>
AND (usergroupid=5
OR usergroupid=6
OR usergroupid=7
OR usergroupid=2)
ORDER BY RAND()
LIMIT 1
mysql error: You have an error in your SQL syntax near 'AND (usergroupid=5
OR usergroupid=6
' at line 4

mysql error number: 1064

HELP!!!!!!!!!!!!!!!!!!!!
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 07:07 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04648 seconds
  • Memory Usage 2,315KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (3)bbcode_code
  • (4)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete