Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 Design and Graphics Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 03-18-2008, 02:33 PM
atlambros83's Avatar
atlambros83 atlambros83 is offline
 
Join Date: Nov 2007
Location: Atlanta, Georgia
Posts: 122
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Please help (template editing)

Ok, I've been trying to get help with this for months now....I've tried posting in the modification thread, I've tried PM'ing the developer, etc...and no one's replied. I'm trying to get the Cyb - Forums Count Up mod to show in my forum statistics box on the bottom of my home page rather than just randomly placing it beneath the navbar. I've edited the FORUMHOME template and added $cybonlinecountup just about anywhere I can see that it should go to show where I want it to be and the best i've gotten is for it to show a blank line in the statistics box. is there possibly a problem with the coding that would not allow it to appear there or am I just simply not placing it in the right space? A link to the modification is listed below incase anyone is not familiar with the mod i'm talking about. Any help given would really be greatly appreciated.

https://vborg.vbsupport.ru/showthread.php?t=122991

My forum URL is http://www.optikal-illuzionz.com/forums
Reply With Quote
  #2  
Old 03-18-2008, 02:58 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It all has to do with when the code is run and when the template is 'made'. If the footer template is spit out prior to the code being run, then your variables are not available at the time the footer is 'made' and so nothing will be spit out then. So, if you want the variables to be available in another template, you need to make sure that template has those variables available to it. If not, you will have to see if you can run the code earlier in the page to have those variables available. Sometimes this isn't as easy as it sounds.
Reply With Quote
  #3  
Old 03-18-2008, 03:11 PM
atlambros83's Avatar
atlambros83 atlambros83 is offline
 
Join Date: Nov 2007
Location: Atlanta, Georgia
Posts: 122
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

is there a way I can set it to make the footer appear first then? or is it just a lost cause?

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

oh ok, I see what you're saying. didn't see the edit.

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

do you know if there's a tutorial or somewhere where i can get information on trying to correct this? or is it something that i should probably just leave alone since i am pretty inexperienced with this.
Reply With Quote
  #4  
Old 03-18-2008, 03:23 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I don't know if there is a tutorial about it. I don't know what you would write in such a tutorial - make sure your code is run prior to writing your template?

You posted in the correct place for help - the modification thread - because they know the code best and would know if you can change the plugin placement. I would leave it alone until you feel you are more comfortable changing plugin locations.
Reply With Quote
  #5  
Old 03-18-2008, 03:30 PM
atlambros83's Avatar
atlambros83 atlambros83 is offline
 
Join Date: Nov 2007
Location: Atlanta, Georgia
Posts: 122
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

well thanks for your help. I can't get a response out of anyone in the mod thread or from the developer so I guess I'll just drop it and uninstall the mod. it's really a useless addition anyway i just thought it would be cool to keep up with along with the other forum statistics. again, thanks.
Reply With Quote
  #6  
Old 03-18-2008, 03:49 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Well, someone else may come along and post in this thread telling you how easy it is to change. I don't know the mod, so I can only talk in generalities.
Reply With Quote
  #7  
Old 03-18-2008, 03:58 PM
atlambros83's Avatar
atlambros83 atlambros83 is offline
 
Join Date: Nov 2007
Location: Atlanta, Georgia
Posts: 122
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

yeah, hopefully someone does. reinstalling the mod isn't a problem. i've just gotten sick of looking at it in the position the mod defaults it at. lol
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 09:50 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.04079 seconds
  • Memory Usage 2,213KB
  • Queries Executed 11 (?)
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)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (7)post_thanks_box
  • (7)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (7)post_thanks_postbit_info
  • (7)postbit
  • (7)postbit_onlinestatus
  • (7)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
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete