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)
-   -   mYvBindex v3.1 (https://vborg.vbsupport.ru/showthread.php?t=44691)

mforster 02-07-2003 06:07 AM

Excellent hack, installed no probs A++++ Check it out at http://www.boogle.org.uk.

Found it very easy to customise, hoping to get a new skin on it over the weekend.

WELL DONE!

Tigga 02-07-2003 12:14 PM

Units - Please check post #634 in this thread. If that doesn't help let me know.


Prophet2002 - If you'll open your myvbindex.php file and look for this line:
PHP Code:

FROM thread WHERE open='1' AND open<>10 $iforumperms 

Replace that with:
PHP Code:

FROM thread WHERE open='1' AND open<>10 AND forumid!=XX $iforumperms 

Replace XX there with the forum id that you do not want to appear in the latest threads.


mforster - Thank you. Hope you enjoy the hack. :)

Prophet2002 02-07-2003 01:51 PM

you are the man PP, thx for the info.:D

slabuda 02-08-2003 01:27 PM

attempted to use this Hack ... looks good ...

But going through the install I found that in the step to edit the pages ..

(Q1)
Step 3 - File Modifications

Find:
'1')");

Replace it with:
'1','Y')");

I could not find this in my file.

(Q2)
In step 2, was I supposed to clear out all the data in those templates and replace with the data in the instructions?

(Q3)
I can't seem to log out of my Forums now.

Any help would be appreciated ... thanks

Tigga 02-08-2003 02:00 PM

1. What version of vBulletin are you running? Unless you have another hack that's changed that part of the file, that code should be just a couple of lines below the first line you edited.

2. For the first 2 template mods, yes. For the 3rd one you are only supposed to change the link to point to the full url to your forums.

3. Did you set the Cookie Domain to .yoursite.com as instructed in the install file? Also be sure your Cookie Path (the option right under the Cookie Domain) is set to /

slabuda 02-08-2003 02:03 PM

Ok figured out my first question, but still need on the other two. Thanks

slabuda 02-08-2003 02:09 PM

Trying to Post to the News Forum .. I recieve this error ..

Database error in vBulletin 2.2.6:

Invalid SQL: INSERT INTO post (postid,threadid,title,username,userid,dateline,at tachmentid,pagetext,allowsmilie,showsignature,ipad dress,iconid,visible,isnews) VALUES (NULL,'4330','Test','Kiko','1','1044720361','0','T est','1','1','66.61.50.249','0','1')
mysql error: Column count doesn't match value count at row 1

mysql error number: 1136

Date: Saturday 08th of February 2003 11:06:01 AM
Script: http://www.consilioetarmis.com/forum.../newthread.php
Referer: http://www.consilioetarmis.com/forum...ead&forumid=85


And on an existing Thread ...

Database error in vBulletin 2.2.6:

Invalid SQL: INSERT INTO post (postid,threadid,title,username,userid,dateline,at tachmentid,pagetext,allowsmilie,showsignature,ipad dress,iconid,visible,isnews) VALUES (NULL,'4331','Test','Kiko','1','1044720985','0','T EST','1','1','66.61.50.249','0','1')
mysql error: Column count doesn't match value count at row 1

mysql error number: 1136

Date: Saturday 08th of February 2003 11:16:25 AM
Script: http://www.consilioetarmis.com/forum.../newthread.php
Referer: http://www.consilioetarmis.com/forum...read&forumid=8


----------------------------------



Ok when i tried both of these, it gave the error, but still created the thread, but didnt have the body of the message in it ..

Also any new post I put in an existing thread seems to clean that thread ...

Tigga 02-08-2003 05:34 PM

You didn't edit the newthread.php file correctly and make the 2nd change listed in the install file.

arracing 02-09-2003 07:58 AM

I found a problem in latest threads. Basically if you have a forum such as a moderator forum where you want the forum visible on the board yet restricted so that only mods can get in. I have such a forum and the thread topics are showing up in the myvbindex latest thread table even when the permissions such as for guest say you cannot see in that folder. I know if I make this a private forum the thread topics will not show but I do not want to make the forum private because it will disapear. I really do not want others that cannot get into the mod forum to see what the thread topics are. Is their anything i can do to change this?

jarvis 02-09-2003 01:20 PM

This is answered about 5 or so posts up in post #642.

Just make sure that you change the XX to the forum that you do not want to show in your latest threads list.

Also, there is a typo in the post. fourmid should be forumid. :D

HTH,
Jarvis

www.mhogaming.com


All times are GMT. The time now is 04:25 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.02449 seconds
  • Memory Usage 1,745KB
  • 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
  • (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