vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=15)
-   -   sub forums links? (https://vborg.vbsupport.ru/showthread.php?t=85754)

imported_cono 12-21-2002 07:06 AM

sub forums links?
 
this might be very simple, but i have no idea how to do it :)

on the forum home page, i want to show links to the subforums under the forum description. i saw this in a couple of forums. i did a search here and didnt find it. is this a hack? my guess is its a template mod?

thanks in advanced.

assassingod 12-21-2002 08:24 AM

You could just go to the subforum, copy the URL (remove the sessionhash though)
Then go to Forums and Moderators, edit the forum you want the link to appear, and place this in the description:
Code:

<a href="URL">Sub-Forum Nam</a>

Brad 12-21-2002 02:56 PM

this would require a query for each forum, insted add them to the forumdiscription of their parent forum. Do not remove the sessionhash from the url. use its replacement so users without cookies do not have errors. The url sould look something like this:

forumdisplay.php?s=$session[sessionhash]&forumid=*forumidhere*

replace *forumidhere* with the forumid for the forum (the number at the end of the url)

imported_cono 12-21-2002 05:42 PM

thank you

imported_cono 12-27-2002 06:40 PM

ok, i am having a problem with this, if i do two links, i am fine. but i try doing the 3rd link... and i get this problem on my forum home.

http://www.source-forums.org/vbb/

but its fine with only 2 links? any ideas?

thanks

Brad 12-27-2002 06:48 PM

Honestly i have no idea why its doing that. It might be something to do with the vBportal and/or the vBportal style. It works on my un hacked 2.2.9 on localhost.

imported_cono 12-27-2002 07:01 PM

not sure either? i dont have any hacks on my board, so i dont think it would play a factor in that. i think i will just put two links and then a etc. at the end?

thanks anyways. :D

imported_cono 12-27-2002 10:12 PM

i got it, i had to go to phpmydadmin and change the char value. steve at vbulletin.com helped me out. but i have one more question on this.

whats the diffrence between useing this - forumdisplay.php?s=$session[sessionhash]&forumid=*forumidhere*

and just copying and pusting the url to the forum? i have seen the other forums and how they do it. they just copy and paste it? but i would rather do it the better way.

thanks,


All times are GMT. The time now is 05:04 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.00942 seconds
  • Memory Usage 1,720KB
  • 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_code_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (8)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