vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Member Archives (https://vborg.vbsupport.ru/forumdisplay.php?f=202)
-   -   Forumhome help (https://vborg.vbsupport.ru/showthread.php?t=41163)

ozone2000 07-16-2002 05:32 PM

Forumhome help
 
Hi!

I am working on a new style for graphic-forums.com as i've done so many other times, but this time i really wanna make it as intended, i found all the hacks and template edits i need except one

i know how to seperate the forumcategories, but how do i add a gaphic below the category and its forums? I saw it on yaxay.com and other forums, but never found out where i could learn how to make it without adding the same graphic above the first category.

any help would be apreciated.

ozone2000 07-16-2002 07:20 PM

1 Attachment(s)
this is what i mean

Dean C 07-16-2002 08:20 PM

i need to do this too... i have it done on the very bottom category but not all of them so...

ozone2000 07-17-2002 09:04 AM

doesn't anyone know how to do this?
---
I found out how to do so so here's what I did:

- create a new template called 'forumhome_forumbit_footer'
- fill it with your separation code ;)
- open index.php and add
PHP Code:

,forumhome_forumbit_footer 

to the long list of templates used (should be line 3 or so)
- always in index.php, scroll down, find
PHP Code:

  unset($iforumcache["$forumid"]);
  return 
$forumbits;


and just above add
PHP Code:

  eval("\$forumbits .= \"".gettemplate("forumhome_forumbit_footer")."\";"); 

- upload and you're done! :)

spcargt 07-17-2002 10:36 PM

I just followed your isntructions but I wind up having an extra 'bottom piece'. It looks like the include is that you insert into the index.php file is executing one more time than needed. Did you get this as well, or did I do something wrong?

ozone2000 07-18-2002 06:11 AM

Well no I didn't get it one more time...
But perhaps if you activate the hack on your board and/or show a screenshot I'll be able to help you ;)

---

Try removing
PHP Code:

  eval("\$forumbits .= \"".gettemplate("forumhome_forumbit_footer")."\";"); 

from above
PHP Code:

  unset($iforumcache["$forumid"]);
  return 
$forumbits;


and place it instead just below
PHP Code:

        if ($depth<$forumhomedepth) {
          
$forumbits.=makeforumbit($forum['forumid'],$depth+1,$forumperms); 


Dean C 07-18-2002 07:46 AM

what shall i put in the forumhome_forumbit_footer template?

ozone2000 07-18-2002 09:45 AM

what you want as a footer for your categories, a table, image... whatever you want

spcargt 07-18-2002 04:21 PM

Yep, moving it did the trick. Thanks! :)

ozone2000 07-18-2002 04:32 PM

your welcome!


All times are GMT. The time now is 11:44 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
  • Page Generation 0.01027 seconds
  • Memory Usage 1,731KB
  • 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
  • (6)bbcode_php_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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