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 10-04-2002 11:37 AM

Quote:

Originally posted by LightBringer
Hey NTLDR, any comments about the template names by chance?

For instance: TWT's hack requires shoutbox_error.
Your hack requires: home_shoutbox_error.

There's a few others like this and I've renamed the those within the the new vbindex.php to match accordingly. Is this correct?

I prefixed all the templates with home_ so that they can be modified to change the look of the shoutbox on the home page without effecting what you see when you are looking at the full page shoutbox that is part of TWT's hack. It doesn't really matter what the templates are called, as long as they match throughout, ie in $templatesused at the top, in the eval statements and in the CP.

NTLDR 10-04-2002 11:38 AM

Quote:

Originally posted by groovesalad
so, anyone know where I can get the 1.3 version? The link doesn't work.
You will need to contact el3m3nt the author of vBindex 1.3.

NTLDR 10-04-2002 11:39 AM

Quote:

Originally posted by TheSaint-AeD
Perhaps it'd be better to update the first Post and prune this thread to the important Posts.
The first post contains all the important information regarding this hack at present.

Asso 10-04-2002 03:29 PM

the relase canditate says a DB error :( i will wait the 2.1 :)

NTLDR 10-04-2002 04:06 PM

Quote:

Originally posted by Asso
the relase canditate says a DB error :( i will wait the 2.1 :)
Whats the DB Error you get? If its related to the shoutbox then you haven't installed the prerequisit. If not could you post the error here? Otherwise it will still be in 2.1. I'm having no errors with this currently.

jimmyjoe 10-04-2002 05:02 PM

First of all NTLDR I want to commend you for a great hack and all the support you have given to all the people like me asking for help...

First of all I was wondering how i can add in the right pane the last posts for some selected forums...

and secondly, I a user logs in and has a PM waiting the normal popup window will appear and if he tries to follow the popup box to read the message, and error appears. It is a cgi error. i think it is because the url it is linking to is wrong... here is my forum..

Smartphonesource

thanks for all your help

NTLDR 10-04-2002 05:36 PM

Quote:

Originally posted by jimmyjoe
First of all I was wondering how i can add in the right pane the last posts for some selected forums...
Change (in 2.0.1):

PHP Code:

if  ($action == "getnew") {
    
// new posts
    
$threadsquery $DB_site->query("select threadid,forumid,title,postusername,lastposter,replycount,iconid from thread WHERE visible=1 AND thread.lastpost>=".$bbuserinfo[lastvisit]." AND thread.open<>10 ".$threadsql." order by lastpost desc limit $numthreads");


To:

PHP Code:

if  ($action == "getnew") {
    
// new posts
    
$threadsquery $DB_site->query("select threadid,forumid,title,postusername,lastposter,replycount,iconid from thread WHERE visible=1 AND thread.lastpost>=".$bbuserinfo[lastvisit]." AND thread.open<>10 AND  forumid=X ".$threadsql." order by lastpost desc limit $numthreads");


Replace X with the forumid. To add more forums add AND forumid=X after the last one.


Quote:

and secondly, I a user logs in and has a PM waiting the normal popup window will appear and if he tries to follow the popup box to read the message, and error appears. It is a cgi error. i think it is because the url it is linking to is wrong... here is my forum..
Edit the head_newpm template and put $bburl before the (I think 2) instances of private.php that way they will be sent to the right URL ;)

fluent 10-04-2002 05:50 PM

Quote:

Originally posted by NTLDR


Whats the DB Error you get? If its related to the shoutbox then you haven't installed the prerequisit. If not could you post the error here? Otherwise it will still be in 2.1. I'm having no errors with this currently.

I'm getting a db error. Maybe it's the same one. Just installed the rc 1.3 on top of a 2.0.1u.

-paul

forgot the error:

Database error in vBulletin 2.2.8:

Invalid SQL: SELECT thread.*,threadpost.pagetext AS pagetext FROM thread LEFT JOIN post AS threadpost ON (thread.tpostid = threadpost.postid) WHERE forumid = '3' ORDER BY thread.dateline DESC LIMIT 5
mysql error: Unknown column 'thread.tpostid' in 'on clause'

mysql error number: 1054

NTLDR 10-04-2002 05:58 PM

Quote:

Originally posted by fluent
I'm getting a db error. Maybe it's the same one. Just installed the rc 1.3 on top of a 2.0.1u.
You haven't done the changes that are in this post: https://vborg.vbsupport.ru/showthrea...664#post305664 like it says to to in the install instructions in the first post. Make those changes and you won't get the DB error.

jimmyjoe 10-04-2002 06:32 PM

Quote:

Replace X with the forumid. To add more forums add AND forumid=X after the last one.

I replaced the php and changed the forumid to 7 and added another AND forumid=11 and i got a php error on that line... :(

what am i doing wrong??

what i was going for is 3 boxes like this

Latest in 6035 disscussions
thread
thread
thread
thread

new box

latest in 7135 discussions
thread
thread
thread
thread

new box

latest in general discussion
thread
thread
thread
thread

is that what you had in mind??? sorry if i am being dense i am not that good with php...

thanks for all your help....


All times are GMT. The time now is 03:16 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,755KB
  • 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_php_printable
  • (9)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (5)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