vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   How can I add the "What's Going On?" sections to my FORUMSDISPLAY? (https://vborg.vbsupport.ru/showthread.php?t=174940)

J105C 04-02-2008 07:10 PM

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?

dismas 04-02-2008 07:11 PM

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.

J105C 04-02-2008 07:20 PM

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

Lynne 04-02-2008 07:23 PM

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.

J105C 04-02-2008 08:14 PM

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?

carteretpeople 05-27-2008 01:22 AM

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

SEOvB 05-27-2008 05:45 AM

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/

Dismounted 05-27-2008 07:20 AM

You need to also include the datastore variable that stores certain information :).

carteretpeople 05-27-2008 06:01 PM

Quote:

Originally Posted by FRDS (Post 1532540)
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?


All times are GMT. The time now is 11:47 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.01116 seconds
  • Memory Usage 1,726KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (9)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete