vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Requests/Questions (Unpaid) (https://vborg.vbsupport.ru/forumdisplay.php?f=112)
-   -   page jump? (https://vborg.vbsupport.ru/showthread.php?t=84575)

chad777 09-14-2002 12:22 AM

page jump?
 
Well what I am looking for it...well let me say why first.

I have a look list of categories and don't want to make categories to go to other categories.

So what I would like to have is say a listing of the different categories at the top and when someone clicks on one it jumps down the page to right category.

then have a return to top by that category.

EXAMPLE
all these are links at top
Forum categories listing
general a
games
web design
food
life
etc..
etc..

All these are forums down below
--------------------------------------
general a
_______________________
Games
web deisgn
food
life
etc..
etc..

If I click on something under forum listing it would take me to the the forum below

Any ideas ?

Tony G 09-14-2002 12:27 AM

Very confusing.

So you want categories to go into other categories? Just use sub-forums.

chad777 09-14-2002 12:37 AM

lol sorry if it was confusing.

No that isn't what I meant.

What i was is to add a forumlisting (just Text) in say the welcome box.

In this welcome box there will be hyperlinks.

If you click on one of these hyperlinks it will take you down the page to the forum you clicked on.

I have done this with html but I have no idea with all teh templates and php.


here is an example of it in html
PHP Code:

<body>

<
h2><a name="top">Forum Listing</a></h2>
<
ol>
  <
li><strong><a href="#how">BLA BLA BLA</a></strong></li>
  <
li><strong><a href="#where">BLA BLA BLA 2</a></strong></li>
  <
li><strong><a href="#why">etc...</a></strong></li>
  <
li><strong><a href="#who">etc...</a></strong></li>
  <
li><strong><a href="#what">etc...</a></strong></li>
  <
li><strong><a href="#when">etc...</a></strong></li>
</
ol>
<
hr>
<
h3><a name="how">BLABLABLA</a></h3>
<
p>[This is the answer to the question.]</p>
<
h5><a href="#top">Back to Top</a></h5>
<
hr>
<
h3><a name="where">BLABLABLA2</a></h3>
<
p>[This is the answer to the question.]</p>
<
h5><a href="#top">Back to Top</a></h5>
<
hr>
<
h3><a name="why">etc</a></h3>
<
p>[This is the answer to the question.]</p>
<
h5><a href="#top">Back to Top</a></h5>
<
hr>
<
h3><a name="who">etc</a></h3>
<
p>[This is the answer to the question.]</p>
<
h5><a href="#top">Back to Top</a></h5>
<
hr>
<
h3><a name="what">etc..</a></h3>
<
p>[This is the answer to the question.]</p>
<
h5><a href="#top">Back to Top</a></h5>
<
hr>
<
h3><a name="when">etc..</a></h3>
<
p>[This is the answer to the question.]</p>
<
h5><a href="#top">Back to Top</a></h5>

</
body


Tony G 09-14-2002 01:05 AM

Okay so you want links in your welcome box so when you click on them it takes you down to the forum list you selected?

chad777 09-14-2002 01:06 AM

yep

Tony G 09-14-2002 01:09 AM

This could be a good mod, I'll work on it. :)

chad777 09-14-2002 01:16 AM

Cool :)

please let me know when have it :)

Tony G 09-14-2002 01:42 AM

Shouldn't be too hard, I hope.

I'll work on it tonight. :)

chad777 09-14-2002 09:46 PM

Hey tony figure it out ?

It might be a hack that might have to be at vb.org because if I am thinking right you might have to add an extra thing in the database with certain coding because the threadlist or forum bits are taken from the database and the cat. title too $forumtitle or something.

assassingod 09-14-2002 10:35 PM

Nah. This can be a simple template modification. Quite simple really:)

Cant wait til its out Tony;)

Tony G 09-15-2002 12:44 AM

Figured it out, but I need a welcome panel to add it to from here. It doesn't look good anywhere else.

chad777 09-15-2002 01:48 AM

Does it go between each cat ? i would like to see this in action even if it don't look pretty right now :)

Tony G 09-15-2002 02:11 AM

Haven't got the code up anywhere, but can someone volenteer their welcome panel so I can import it in to there?

chad777 09-15-2002 02:16 AM

i would but I don't have a test board up :(

chad777 09-17-2002 02:58 AM

was this project given up on or is it still going to happen ?

Mark 10-13-2002 04:57 AM

Want my welcome panel?

Here' the coding.

Quote:

<!-- welcomepanel -->
<table cellpadding="0" cellspacing="0" border="0" bgcolor="#6597D9" width="100%" align="center">
<tr>
<td>
<table cellpadding="4" cellspacing="1" border="0" width="100%">
<tr id="cat">
<td bgcolor=""#90B9F1" background="images/cat_bg.gif"" colspan="6"><normalfont color="#FFFFFF"><b>Welcome</b></normalfont></td>
</tr>
<tr>
<td bgcolor="#F9F9F9" align="center" valign="top" width="100">$avatarimage</td>
<td bgcolor="#FFFFFF">
<smallfont>
$unregwelcomemessage
$welcometext<br>
The time now is $timenow.<br>
You last visited: $bbuserinfo[lastvisitdate].<br>
<b>$newposts</b>
</smallfont>
</td>
<td bgcolor="#F9F9F9" align="center" valign="middle" width="300">
<smallfont><b>Name</b>:$bbuserinfo[username] </a> </b> | <b>Posts</b>: $bbuserinfo[posts] | <smallfont><b>Change Style:</b>
<select name="styleid" onChange="window.location=('index.php?styleid='+th is.options[this.selectedIndex].value)">
<option value="1" selected>Blue</option>
<option value="4">Night</option>
</select></smallfont><br>

$logincode
<br>
$pminfo

</td>
</tr>

</table>

</td></tr></table>
<!-- /welcomepanel -->
So for the code itself, I think it's $forumjump.. not sure..

Tony G 10-13-2002 06:25 AM

My code that I was working on got deleted. Sorry. I may start working on it again.

Xbox 10-13-2002 09:03 AM

Well, vBulletin standard has the "forumjump" if you find the code for that, you can simply copy it into your welcome panel .....

Brad 10-13-2002 09:06 AM

Quote:

Originally posted by Neo
Well, vBulletin standard has the "forumjump" if you find the code for that, you can simply copy it into your welcome panel .....

As far as i know the code for the forumjump is made in showthread.php and forumdisplay.php, mabey functions.php to. so it wouldent work ont he index page.

Tony G 10-13-2002 10:01 AM

No wonder, and then you'll need fine editing in index.php to make it fully work.

Mark 10-13-2002 03:37 PM

No wonder mine didn't work. I figured as much there was more coding to be added. Hmm... I'm not well educated in this are of fine .php file edditing so I'll leave it to someone who understands it. But I'd still love to have this, consider this a request to anyone kind enough to help me. Thanks :)


All times are GMT. The time now is 02:15 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.01133 seconds
  • Memory Usage 1,782KB
  • 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_php_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (21)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