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)
-   -   vBindex v2.1 (https://vborg.vbsupport.ru/showthread.php?t=41916)

NTLDR 08-08-2003 12:30 AM

Have you tried entering the full path to the forums directory?

JGM007 08-11-2003 11:49 AM

Hi NTLDR,

I am having a strange issue after upgrading to 2.3.2, everything is working fine but the news.

The title of the news piece shows up, but none of the text within the post does. I checked and I do have it set to show 500 chars of the thread.

It is always possible I dinged something too, i am good like that :D Breaking stuff that is.... heh heh

Anyhow, any thoughts where I could start looking?

Thanks!

JGM007 08-11-2003 12:01 PM

Ok I did just find out more info..

When I go to the counters update and run the: Update postid's For Threads" The text will appear!! But until I do that only the headder shows up.

Very strange indeed!

:)

mccollin 08-11-2003 01:08 PM

Quote:

Today at 02:01 PM JGM007 said this in Post #1493
Ok I did just find out more info..

When I go to the counters update and run the: Update postid's For Threads" The text will appear!! But until I do that only the headder shows up.

Very strange indeed!

:)

Doing this is part of the installation instructions.

NTLDR 08-11-2003 06:52 PM

I can't see that anything in 2.3.x would cause any problems with the news, however I've not tested this on any of the 2.3.x series. There shouldn't be any reason why the update counters option doesn't work, can you update post counts or anything else OK?

Xxman 08-11-2003 08:07 PM

@ NTLDR a little question..

I succesfully installed Vbidex on my board .
My bord mount four user selectable style through forum home template ( using Grog6's change style hack ) .

How can I make allow users to change style of vbindex too ?
Does a module exist already?

NTLDR 08-11-2003 09:56 PM

You should find that the home_* templates are in each template set, by default vBindex will use the users selected style, just like the forum would. For example, users could add &styleid=X to the url to view the page with styleid X, or if they have choosen a different style in the User CP then that will appear instead of the default style.

JGM007 08-12-2003 01:50 AM

Quote:

Today at 10:08 AM mccollin said this in Post #1494
Doing this is part of the installation instructions.

Part of the physical instructions as you install it? That is something I would overlook :(
I did not see it in the .txt file.

mccollin 08-12-2003 02:39 PM

I think its in the instructions during the install script... it tells you to update your counters. Don' feel bad... I did the same thing when I installed it and then found a bunch of posts in this thread that mention it.

mccollin 08-12-2003 02:44 PM

NTLDR,

Got a question for you. I'm trying to modify the code a bit ... as you have seen... and one thing that's giving me trouble is queries that don't return anything. For example, I'm going to use the news script to display formatted articles with my left and right panels in place. So, I modified the script to send a threadid, then I limit the forum to the articles forum, and limit the returned posts to 1. The only problem is that if you type in he threadid incorrectly and it doesn't find it, I get a database error page. I'd like to throw up a template that says the article wasn't found. I've been fussing with the script and seem to be missing something because I can't get it to respond with anything but the error page....

I'm in this code....
PHP Code:

.....

if (
$newsonoff!=0) {
$newsquery=$newsquery=$DB_site->query("SELECT thread.*,threadpost.pagetext AS pagetext 
FROM thread LEFT JOIN post AS threadpost ON (thread.tpostid = threadpost.postid) 
WHERE forumid IN (
$newsforum
AND  thread.threadid = 
$articleid
ORDER BY thread.dateline DESC LIMIT 
$newsposts");
while (
$news=$DB_site->fetch_array($newsquery)) {
  
$newsthreadid=$news[threadid];
  
$newstitle=$news[title];
  
$newstime=vbdate($timeformat,$news[dateline]);
  
$newsdate=vbdate($dateformat,$news[dateline]);
  
$newsusername=$news[postusername];
  
$newsuserid=$news[postuserid];

.... 

I'm assuming I need to do something with the while statement, but I haven't pinned it down.


All times are GMT. The time now is 09:00 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.02180 seconds
  • Memory Usage 1,751KB
  • 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)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (4)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