Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 General Discussions
  #1  
Old 04-02-2008, 07:10 PM
J105C J105C is offline
 
Join Date: Mar 2008
Posts: 120
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default How can I add the "What's Going On?" sections to my FORUMSDISPLAY?

I basically want to put the following in my FORUMSDISPLAY just like FORUMSHOME at the bottom:

Currently Active Users
Site Statistics

Is this possible?
Reply With Quote
  #2  
Old 04-02-2008, 07:11 PM
dismas's Avatar
dismas dismas is offline
 
Join Date: Jun 2007
Location: Vermont
Posts: 720
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Sure is. Just copy the section of code from your FORUMHOME template and paste it wherever you want it to show on the FORUMDISPLAY template.
Reply With Quote
  #3  
Old 04-02-2008, 07:20 PM
J105C J105C is offline
 
Join Date: Mar 2008
Posts: 120
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I tried that and removed the <if condition shows> tags so both sections display.

But what happens is only the users viewing the forum are the only ones shown, not the entire board. Also, the numbers for the statistics are empty, looks like this:

Threads: , Posts: , Members: , Active Members:

Just empty
Reply With Quote
  #4  
Old 04-02-2008, 07:23 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You need to grab the code from the index.php page and put it in a plugin that gets called on your forumdisplay page and then copy the part from the FORUMHOME template that spits out this information into your FORUMDISPLAY template.
Reply With Quote
  #5  
Old 04-02-2008, 08:14 PM
J105C J105C is offline
 
Join Date: Mar 2008
Posts: 120
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hmm I will have to check that out, but I've never done plugins before.. I'm a noob w/ vB

--------------- Added [DATE]1207171487[/DATE] at [TIME]1207171487[/TIME] ---------------

I'm guessing, forumdisplay_start?

--------------- Added [DATE]1207179176[/DATE] at [TIME]1207179176[/TIME] ---------------

I'm totally stumped on what part(s) of the php index file I need. Can't seem figure it out -.-'

--------------- Added [DATE]1207191144[/DATE] at [TIME]1207191144[/TIME] ---------------

OK, I got the online users and total posts and topics to work on stats.

I'm trying to figure out why the total members and current member aren't showing up.

--------------- Added [DATE]1207235526[/DATE] at [TIME]1207235526[/TIME] ---------------

OK All the "online users" are working, along with most users online ever.

I just cannot get my "Total Members" and "Welcome our newest member" to work.

Can someone help me?
Reply With Quote
  #6  
Old 05-27-2008, 01:22 AM
carteretpeople carteretpeople is offline
 
Join Date: May 2008
Posts: 17
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

hi im having the same problem.. i copied the whats going on to the top of my forum anf now i cant get the newest member, and number of members to show... did you resolve this problem?

thanx
Reply With Quote
  #7  
Old 05-27-2008, 05:45 AM
SEOvB's Avatar
SEOvB SEOvB is offline
 
Join Date: May 2007
Location: Indianapolis
Posts: 2,451
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Check out my plugins i've relased as i've got one to do this.

You can't simply copy and paste the template code from forumindex into forumdisplay, you'll need the plugin/
Reply With Quote
  #8  
Old 05-27-2008, 07:20 AM
Dismounted's Avatar
Dismounted Dismounted is offline
 
Join Date: Jun 2005
Location: Melbourne, Australia
Posts: 15,047
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You need to also include the datastore variable that stores certain information .
Reply With Quote
  #9  
Old 05-27-2008, 06:01 PM
carteretpeople carteretpeople is offline
 
Join Date: May 2008
Posts: 17
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by FRDS View Post
Check out my plugins i've relased as i've got one to do this.

You can't simply copy and paste the template code from forumindex into forumdisplay, you'll need the plugin/

Where can i find your plugins?:erm:

Also...can you look at my site. www.carteretpeople.com
i have everything on the top but the stats are wrong, its set to 0 and it doesn't keep most users online. it changes everyday. This use to work but?
Reply With Quote
Reply

Thread Tools
Display Modes

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 08:58 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
  • Page Generation 0.06584 seconds
  • Memory Usage 2,225KB
  • Queries Executed 13 (?)
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
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (9)post_thanks_box
  • (9)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (9)post_thanks_postbit_info
  • (9)postbit
  • (9)postbit_onlinestatus
  • (9)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_postinfo_query
  • fetch_postinfo
  • 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
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete