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)

Baptizer 01-04-2003 04:11 PM

Teck, I am still clueless....
I cannot get it to display the text in the articles!!!!! GRRR
:(

TECK 01-04-2003 04:51 PM

Pm me the attached newthread.php and look into your thread table and tell me if articleid is present.

hooolala 01-04-2003 05:29 PM

Quote:

Originally posted by Baptizer
Hoooolala:

1) the newthread.php file is one that you already had. You need to edit your current newthread.php file and then re-upload the new edited one.

2) Strange, i am also getting the EXACT same problem. Your problem is probably occuring because you did not update the newthread.php file. Make sure you download this file, edit it, and then re-upload it. Hopefully this works out for you.....Mine is still not working :(

thanx for helping me.... but.. i don't understand what do i need to edit in newthread.php file?

hooolala 01-04-2003 05:30 PM

also.. TECK

requesting access for restricted area on your forums:

username: hooolala

Baptizer 01-04-2003 05:45 PM

Hi Teck:
i sent you the newthread.php. Exaclty where do i look to see if articleid is present in the thread table?


Hooolala:
In the readme file, it tells you specifically what to edit. Here is the section:
Quote:

STEP 2
Open newthread.php file (located in /forum folder) and perform the code change listed below.
FIND:
$postid=$DB_site->insert_id();
BELOW, ADD:
if (in_array($foruminfo['forumid'], explode(',', $articleforum))) {
$DB_site->query("UPDATE thread SET articleid='$postid' WHERE threadid='$threadid'");
}

Save the file.


TECK 01-04-2003 06:37 PM

Baptizer, open phpMyAdmin and look into table thread. The field articleid should be present there. Your newthread.php file is ok.

Baptizer 01-04-2003 06:59 PM

Hello Teck:
I looked in the THREAD table and articleid was present(articleid int(10) UNSIGNED No 0).

This is very odd......sigh. I set up a brand new testbulletin, so its not as though i have conflicting information from hacks, etc. Does this have anything to do with me having my index.php file named clan.php? I have no other ideas. No one else had these difficulties before, so this is odd.

Edit: not sure if this helps, but here is what i get when i run vbhlindex.php. It completes successfully:

Re-indexing the articles
Removing the articleid field... Done.
Adding a new articleid field... Done.

Re-indexing article 3... Done.
Re-indexing article 5... Done.
Re-indexing article 6... Done.
Re-indexing article 8... Done.
Re-indexing article 12... Done.
Re-indexing article 17... Done.

Articles re-indexed successfully.


Update completed!
The file the you need to delete: vbhlindex.php

Baptizer 01-04-2003 07:32 PM

Hello Teck,
I was able to get it working, but only by adding forum 2 to this:
$articleforum = '2,4';

The news forum is 4, but the text for that forum is not being displayed on vbhome. However, when I added forum 2, i noticed that the text was being displayed for that one. I then tried creating a new forum, and added it to the list. However, the text for that one was not showing either. Any ideas? Obviously it is working right somewhat, but it is not accepting newly created forums.(after i create a new forum, and add it to the $articleforum = '', i then ran vbhindex.php.....still nothing)

TECK 01-04-2003 07:46 PM

Just quit reindexing, this tool is made only for an old forum that have other threads, is not ment to be used on a regular basis.
I have no idea why is not working on your site, you are the only one having this problem.

Create a new forum. Then enter this ID onto the vbHL options. Save the options. Post a new thread, it will work. Quit reindexing.

And don't add anything to the vbHL files, use the default ones that came in the zip file. No $articleforum, no hacking until you get it working, ok?

AmericanWoman 01-04-2003 08:02 PM

Can anyone tell me where the variable $ articleforum is declared, because I can't get any of this script to work yet and that's the empty string that's coming up as an error...?

I've searched the global, and it's not declared there - but it's used prolifically in index.php. :(

Sorry for such a lame newbie question, but I love this hack and am so frustrated.

Another tidbit - couldn't install this to the root of the web server yet, as it's a working site. Created a dev directory with a duplicate of the existing vBB code and database...

Oh, wait, might have just answered my own question. I didn't edit the install code...could be I just installed the extra stuff to the live database instead of my test...dangit. :(


All times are GMT. The time now is 10:50 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.03278 seconds
  • Memory Usage 1,746KB
  • 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
  • (2)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