vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   vbHome (lite) - your vBulletin(powered) main homepage (https://vborg.vbsupport.ru/showthread.php?t=36756)

Anitah 11-09-2002 04:38 AM

Quote:

Originally posted by Smoothie
Could it be Teck, that "theplace" is the directory that the forums are installed in?
Yes, theplace is the "forum." I had to give my test database a different name from my regular -forum-.

TECK 11-09-2002 04:56 AM

do you see something wrong below?
Code:

theplace/index.php/showthread.php?threadid=3

BeatDown 11-09-2002 05:01 AM

Quote:

Originally posted by TECK
do you see something wrong below?
Code:

theplace/index.php/showthread.php?threadid=3

Should be

Code:

theplace/index.php/showthread.php?s=&threadid=3
Maybe????

TECK 11-09-2002 05:03 AM

anitah, i just looked at your site and everything looks good except the title image and the bulletin board url... you have that index.php added extra to all your url's.
Code:

theplace/[high]index.php/[/high]showthread.php?threadid=3
there is some extra code in there...
also, after the install you must go setup your options.

your board url is not set correctly, you have an index.php extra there. when you place your mouse over the link it should look like that:
Code:

theplace/showthread.php?threadid=3

Anitah 11-09-2002 06:15 AM

anitah, i just looked at your site and everything looks good except the title image and the bulletin board url... you have that index.php added extra to all your url's.

None of the links work properly. If you try the buttons you'll see that they all link to the index page.


your board url is not set correctly, you have an index.php extra there. when you place your mouse over the link it should look like that:


I know it's wrong, I just don't know where the problem is to be found.

there is some extra code in there...
also, after the install you must go setup your options.


Sigh. I've done everything Teck. Four times (not counting the two times before I upgraded to 2.28). I have three index.php's - one in the root directory, which is the vbhome index, the other two are the original vbulletin files, one in the forum directory (i.e., theplace), the other in the admin directory (these I didn't change in any way).

I'm sure it's something very minor, but those are the hardest errors to find.

Anitah 11-09-2002 06:24 AM

Quote:

Originally posted by TECK
do you see something wrong below?
Code:

theplace/index.php/showthread.php?threadid=3

The 3 should be a 2? Yes, I've changed that in the options.

BeatDown 11-09-2002 08:11 AM

Quote:

Originally posted by Anitah


The 3 should be a 2? Yes, I've changed that in the options.

Actually, what TECK's talking about is the vBulletin setting for the URL of the BB. Open your ADMIN CP and check what the URL is set to. It's the 3rd Setting in the "General Settings" category of ADMIN CP.

Quote from ADMIN CP:
Quote:

URL
URL (with no final "/") of the BB. Do not include "/index.php" on the end! Your URL should look something like this: http://www.example.com/forum
Yours should read: http://www.channelvip.splashhost.com/theplace

Anitah 11-09-2002 09:18 AM

Fabulous BeatDown. That did the trick :)

Muchos Gracias!

X-Fan 11-09-2002 01:03 PM

If you want to have recent posts in your news forums show up in the Latest Forum Discussions list on your vBHome page, in vBHome's index.php find:

PHP Code:

  $iforumperms 'AND forumid<>' $articleforum ' AND forumid IN (' implode(','$iforumperms) . ')'

Replace with:

PHP Code:

  $iforumperms 'AND forumid IN (' implode(','$iforumperms) . ')'

Find:

PHP Code:

  if ($thread['forumid']!=$articleforum)
  {
    eval(
"\$threadbits .= \"".gettemplate('home_threadbits')."\";");
  } 

Replace with:

PHP Code:

eval("\$threadbits .= \"".gettemplate('home_threadbits')."\";"); 

Also, if you want your Latest Forum Discussions list to show the date/time/poster of the last post in a thread, rather than the default date/time/poster of the first post in the thread, in vBHome's index.php find:

PHP Code:

SELECT threadid,forumid,title,replycount,postusername,dateline,views 

Replace with:

PHP Code:

SELECT threadid,forumid,title,replycount,lastposter,lastpost,views 

Find:

PHP Code:

  $thread[time] = vbdate($timeformat$thread[dateline]);
  
$thread[date] = vbdate($dateformat$thread[dateline]); 

Replace with:

PHP Code:

  $thread[time] = vbdate($timeformat$thread[lastpost]);
  
$thread[date] = vbdate($dateformat$thread[lastpost]); 

In the home_threadbits template, find:

Code:

$thread[date] <font color="{timecolor}">$thread[time]</font> <a href="$bburl/member.php?s=$session[sessionhash]&action=getinfo&userid=$thread[postuserid]">$thread[postusername]</a><br>
Replace with:

Code:

$thread[date] <font color="{timecolor}">$thread[time]</font> by $thread[lastposter]<br>
Last but not least, if you're using the alt description hack to give your threads a sub-heading, and you want that sub-heading to show up on your vbHome index page, in vBHome's index.php find:

PHP Code:

  thread.lastposter,thread.dateline,articlepost.pagetext as pagetext 

Replace with:

PHP Code:

  thread.lastposter,thread.dateline,articlepost.pagetext as pagetext,thread.description 

In the home_articlebits template, find:

Code:

$article[title]</b></a>
Replace with:

Code:

$article[title]</b></a><br><smallfont>$article[description]</smallfont>

And the results of all the above will be what you see on the vBHome page at my X-Fan Web site!

camikazi2k 11-09-2002 02:35 PM

Quote:

Originally posted by BeatDown


What forum ID Number do you have set in your ADMIN CP for News Postings?

My article forum id is 31
JOurnalist group is 7 the moderator


All times are GMT. The time now is 11:57 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.04054 seconds
  • Memory Usage 1,773KB
  • 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
  • (10)bbcode_code_printable
  • (10)bbcode_php_printable
  • (6)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (6)pagenav_pagelinkrel
  • (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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete