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)

LightBringer 10-17-2002 08:26 PM

*sigh* I should have left things the way they were, but alas, I was tempted. So, in light of this:

I removed all of the old vbindex code.
Reinstalled fresh.
Had to make some changes like not showing certain forums on latest threads, recopying all of my original templates over, etc.

However, NOW the news doesn't show up right and I tried to use the fix with "setpostid.php", this is the error I got:

Quote:

Database error in vBulletin Control Panel 2.2.8:

Invalid SQL: UPDATE thread SET tpostid= WHERE threadid=256
mysql error: You have an error in your SQL syntax near 'WHERE threadid=256' at line 1

mysql error number: 1064

Date: Thursday 17th of October 2002 03:22:33 PM
Script: http://www.brainphreeze.com/forums/f...setpostid.php?
Referer:

groovesalad 10-17-2002 08:27 PM

Quote:

Originally posted by NTLDR
I posted the link to thread 97 above ;)
I asked before I saw your post. :) Thank you :)

groovesalad 10-17-2002 08:28 PM

Weird, I moved about 4 posts from one Forum to another and left it so it said Moved:Thread Name in the old thread. That's where I'm getting that error. If I post a link to the problematic thread, delete it, then it runs fine. Hmmm.

NTLDR 10-17-2002 08:29 PM

Quote:

Originally posted by LightBringer
However, NOW the news doesn't show up right and I tried to use the fix with "setpostid.php", this is the error I got:
I've changed setpostid.php very slightly, try it now and see if it works or gives you the same error :)

LightBringer 10-17-2002 08:29 PM

Also NTLDR, I noticed that in the newest RC that you've got up there, you have original vbulletin code in the section that says "copy and paste from lines 142-202" or whatever. :)

NTLDR 10-17-2002 08:31 PM

Quote:

Originally posted by groovesalad
Weird, I moved about 4 posts from one Forum to another and left it so it said Moved:Thread Name in the old thread. That's where I'm getting that error. If I post a link to the problematic thread, delete it, then it runs fine. Hmmm.
Thanks for that groovesalad, thats exactly what the problem is :) I'm on to this now :D

LightBringer 10-17-2002 08:33 PM

hehe that setpostid worked, I added in the forums I DIDNT want to show up Latest Threads by placing a forumid!=forumid# (IE: forumid!=43) in the vbindex threadsquery string and now everything looks dandy! :)

NTLDR 10-17-2002 08:37 PM

Quote:

Originally posted by LightBringer
Also NTLDR, I noticed that in the newest RC that you've got up there, you have original vbulletin code in the section that says "copy and paste from lines 142-202" or whatever. :)
Fixed, setpostid.php fixed and all resolved to, heres the latest version which ignores thread redirects compleatly :D

LightBringer 10-17-2002 08:41 PM

Cosmetic Change advice:

In your home_shoutboxbit, ya may want to change it from this:
Quote:

<td bgcolor=$color valign="middle"><a href="$bburl/member.php?s=$sessionhash[sessionid]&action=getinfo&userid=$userid"><normalfont><b>$us ername</b></a><br />$shout_text</normalfont></td>
to this:

Quote:

<td bgcolor=$color valign="middle"><a href="$bburl/member.php?s=$sessionhash[sessionid]&action=getinfo&userid=$userid"><smallfont><b>$use rname</b></a><br />$shout_text</smallfont></td>
Just changed the font from normal to small to match the rest of the front page. :)

LightBringer 10-17-2002 08:43 PM

It looks great NTLDR...
Have you been able to fix it so that unregistered and registered users NOT in a particluar usergroup don't see specific threads from forums they shouldn't have access to in the "Latest Threads" section? I like the ability for users that have access to the private forums, to be able to see them in the Latest Threads, whereas, those that shouldn't can't. :)

I'm sure it's just a matter of adding "bbusergroup!=whatever" somewhere...


All times are GMT. The time now is 07:06 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.01816 seconds
  • Memory Usage 1,742KB
  • 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
  • (7)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