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)

XtReMaTriX 01-18-2003 03:01 PM

Quote:

Originally posted by PlurPlanet
Just incase that doesn't work, here's another method you could try. Just replace that whole attachment part with this instead:

if ($news[attachmentid]=='') {
$news[attachment]='';
} else {
eval("\$news[attachment] = \"".gettemplate("index_attachment")."\";");
}

ok, i put that into myvbindex and i am not getting en error...

Quote:

Parse error: parse error in /home/virtual/site79/fst/var/www/html/myvbindex.php on line 742
i donno y i am getting that because i am not working anywhere near that line, but then again i still have alot 2 learn...

Littlebit 01-18-2003 03:02 PM

Quote:

Littlebit - Thank you for pointing that out. I didn't think about vB code in signatures when I added that part. You can fix that by opening your myvbindex.php file and looking for:

if ($news[showsignature]==1) {

Right below that add:

$news[signature]=bbcodeparse($news[signature]);
All better thanks again plurplanet!

Tigga 01-18-2003 03:08 PM

Matrix - It looks like there's a } missing... To make things easy, just replace everything starting from:

// News Admin Options

With:
PHP Code:

// News Admin Options
$adminopts '';
if (
in_array($bbuserinfo['usergroupid'], array(56)) OR ($news[postuserid] == $bbuserinfo[userid])){
eval(
"\$adminopts .= \"".gettemplate('index_news_adminopts')."\";");
}

if (
$news[attachmentid]=='') {
$news[attachment]='';
} else {
eval(
"\$news[attachment] = \"".gettemplate("index_attachment")."\";");
}
eval(
"\$newsbits .= \"".gettemplate('index_newsbits')."\";");
}

$DB_site->free_result($getnews);
unset(
$news);


Then the next line after that part should be:

// vbPortal mini calendar - by wajones

XtReMaTriX 01-18-2003 03:10 PM

Ok, the error is gone, but i am still not getting the attachments in there...

XtReMaTriX 01-18-2003 03:13 PM

you can see here the thread with the attached file : Thread with picture

myvbindex.php is here... the 1st post should have it... : Myvbindex

Tigga 01-18-2003 03:26 PM

Matrix - Check your PM's. :)

XtReMaTriX 01-18-2003 04:02 PM

Thanks PlurPlanet... it all works great now!!!

supersimon 01-18-2003 05:37 PM

ok when i go to the addy for my website is (www.liquidflo.com/myvbindex.php) and its all white and it says done .. and at first i though it was cause teh templates were missing but they aint... i need help.. i have installed many harder hacks ...

my MSN is liquidflo@msn.com

Tigga 01-18-2003 06:00 PM

What did you set as your path in your myvbindex.php file?

supersimon 01-18-2003 06:11 PM

chdir('/home/simon14/public_html/');

i had a feeling that was wrong lol but i dindt know it would make teh file blank..

do u know what it should be or... cant i run a readme file or something to find it


All times are GMT. The time now is 10:55 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.02443 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
  • (1)bbcode_php_printable
  • (3)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