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)

StepFenz 03-17-2004 07:23 AM

Real Blaze,

I visited your link and saw the missing directory problem on line 8.
What's on line 8 in myvbindex.php?
Something like this? chdir('./forum');

THE REAL BLAZE 03-17-2004 07:30 AM

chdir('rapblock.com/forums'); is that what it should be?

THE REAL BLAZE 03-17-2004 07:33 AM

Database error in vbHome 2.3.4:

Invalid SQL:
SELECT COUNT(*) AS total
FROM thread
WHERE forumid IN( ) AND dateline>1079506531

mysql error: You have an error in your SQL syntax near ') AND dateline>1079506531
' at line 4

mysql error number: 1064

Date: Wednesday 17th of March 2004 01:35:52 AM
Script: http://rapblock.com/forums/
Referer: http://rapblock.com/forums/

error perstst, only thing that change is refferer is filled in the error

StepFenz 03-17-2004 07:37 AM

Don't think so. I'm not an expert, but I try chdir('./forum'); instead. It's problably your relative path to your forum.

THE REAL BLAZE 03-17-2004 07:41 AM

no error still there, ima cry

THE REAL BLAZE 03-17-2004 07:43 AM

i tired adding an s to make it "forums" that didnt work either

StepFenz 03-17-2004 07:46 AM

Ok, I checked it. You probably have to enter: chdir('./forums');
With an s at the end

THE REAL BLAZE 03-17-2004 07:47 AM

i did^^^

StepFenz 03-17-2004 07:47 AM

That's right, uh?
Now the images!

This is what has to be done (note from the readme.html)

Next find the Styles section near the bottom left frame in your Admin CP. Click on "Modify" under Styles, then click on the [fonts/colors/etc] link. Near the bottom of this page you will see a section for Image Paths. Set the "Image folder path" and the "Title image path" to the full URL for your images folder inside your forums (ex - /forums/images or http://yoursite.com/forums/images). You must do this for each of your styles, otherwise your images will not show up.

THE REAL BLAZE 03-17-2004 07:57 AM

whats wrong?

StepFenz 03-17-2004 08:02 AM

Enter

Image folder path: /forums/ekkoimages
Title image path: /forums/ekkoimages/logo.gif

And so on. No trailing / and no dots!

THE REAL BLAZE 03-17-2004 08:04 AM

i did

StepFenz 03-17-2004 08:18 AM

Hmm, what's the response? I get a 404 on myvbindex.php in your root.

THE REAL BLAZE 03-17-2004 08:26 AM

Database error in vbHome 2.3.4:

Invalid SQL:
SELECT COUNT(*) AS total
FROM thread
WHERE forumid IN( ) AND dateline>1079506531

mysql error: You have an error in your SQL syntax near ') AND dateline>1079506531
' at line 4

mysql error number: 1064

Date: Wednesday 17th of March 2004 02:21:24 AM
Script: http://rapblock.com/forums/
Referer: http://rapblock.com/forums/


i get that

StepFenz 03-17-2004 08:35 AM

Strange, I see the same error on line 8. Keep it as it was, because I've seen the right page. Change the url or path to your images (as mentioned above) in your Admin control panel. Not in myvbindex, keep that as it was half an hour ago!

Zachery 03-17-2004 08:36 AM

Quote:

Originally Posted by THE REAL BLAZE
Database error in vbHome 2.3.4:

Invalid SQL:
SELECT COUNT(*) AS total
FROM thread
WHERE forumid IN( ) AND dateline>1079506531

mysql error: You have an error in your SQL syntax near ') AND dateline>1079506531
' at line 4

mysql error number: 1064

Date: Wednesday 17th of March 2004 02:21:24 AM
Script: http://rapblock.com/forums/
Referer: http://rapblock.com/forums/


i get that

This is NOT vBhome


Quote:

Originally Posted by StepFenz
Strange, I see the same error on line 8. Keep it as it was, because I've seen the right page. Change the url or path to your images (as mentioned above) in your Admin control panel. Not in myvbindex, keep that as it was half an hour ago!

AdminCP > Styles > [fonts/colors/properties] > Edit all the image paths with http://www.mysite.com/forum/

THE REAL BLAZE 03-17-2004 08:38 AM

i know, i uninstalled vbhome, then installed vbmyindex

Zachery 03-17-2004 08:38 AM

Quote:

Originally Posted by THE REAL BLAZE
i know, i uninstalled vbhome, then installed vbmyindex

Well that says in vBhome, not mYvBindex



http://rapblock.com/myvbindex.php << your chdir is still not correct, it MUST be a full path TRY /hsphere/local/home/hiphop/rapblock.com/forums/

THE REAL BLAZE 03-17-2004 08:39 AM

what do i do, to get rid of vbhome? cuz i uniinstalle it and deleted it's php codes

Zachery 03-17-2004 08:40 AM

Did your REMOVE index.php ? which is still vBhome? and replace it with mYvBindex.php ?

THE REAL BLAZE 03-17-2004 08:41 AM

k lemme do that

THE REAL BLAZE 03-17-2004 08:43 AM

chdir('./hsphere/local/home/hiphop/rapblock.com/forums/'); thats what i have is that correct?

THE REAL BLAZE 03-17-2004 08:44 AM

thanx a mill the index.php thing fixed it,,, thak you thank you thankyou,

Zachery 03-17-2004 08:46 AM

:) np, didnt think epople were even using vB2 anymore ;)

THE REAL BLAZE 03-17-2004 08:48 AM

Warning: chdir() [function.chdir]: No such file or directory (errno 2) in /hsphere/local/home/hiphop/rapblock.com/index.php on line 8 theres still that at the top though, any idea.....o i love vb2, screw v3, i hate it, the look of it disgusts me

StepFenz 03-17-2004 08:51 AM

Change line 8 in what's now index.php: chdir('./forums');
That should do it.

THE REAL BLAZE 03-17-2004 08:53 AM

and why isn't none of my articles showing in the middle of the vbmyhome? its just a wide open space

StepFenz 03-17-2004 09:24 AM

Blaze,

You have to edit the Myvbindex settings in your Admin Control Panel. Point to a newsforum. I guess you can't publish from more than 1 forum (as in vbHome) without modifying the code.
Also enter how many posts you want to show up

Zachery 03-17-2004 09:26 AM

Quote:

Originally Posted by THE REAL BLAZE
Warning: chdir() [function.chdir]: No such file or directory (errno 2) in /hsphere/local/home/hiphop/rapblock.com/index.php on line 8 theres still that at the top though, any idea.....o i love vb2, screw v3, i hate it, the look of it disgusts me

So your saying this forum here disgusts you? :/

StepFenz 03-17-2004 09:48 AM

Your News Forum ID is 2 (News & Updates). Can check that by scrolling over de forumname. You obviously now have entered ID: 4

You do understand that you have to enter: http://rapblock.com/myvbindex.php to view your actual homepage?

gmarik 03-17-2004 02:04 PM

baby doen't cry ;)

THE REAL BLAZE 03-18-2004 03:38 AM

how could i add backround music to the front page???

THE REAL BLAZE 03-18-2004 04:04 AM

heres my page www.rapblock.com ,

also i get this error message sometimes to, i think it's from this hack. it comes up sometimes when i post new threads.

Database error in vBulletin 2.3.4:
Invalid SQL: UPDATE thread SET firstpostid = '366' WHERE threadid = '78'
mysql error: Unknown column 'firstpostid' in 'field list'
mysql error number: 1054
Date: Tuesday 16th of March 2004 11:26:59 PM
Script: http://rapblock.com/forums/forums/newthread.php
Referer: http://rapblock.com/forums/newthrea...read&forumid=26

but for the vmmyindex, how could i play backround music?

P???t?l??k 03-18-2004 12:27 PM

Where did you get that skin?
Thats nice. :squareeyed:

Zachery 03-18-2004 06:17 PM

Quote:

Originally Posted by THE REAL BLAZE
heres my page www.rapblock.com ,

also i get this error message sometimes to, i think it's from this hack. it comes up sometimes when i post new threads.

Database error in vBulletin 2.3.4:
Invalid SQL: UPDATE thread SET firstpostid = '366' WHERE threadid = '78'
mysql error: Unknown column 'firstpostid' in 'field list'
mysql error number: 1054
Date: Tuesday 16th of March 2004 11:26:59 PM
Script: http://rapblock.com/forums/forums/newthread.php
Referer: http://rapblock.com/forums/newthrea...read&forumid=26

but for the vmmyindex, how could i play backround music?

Edit the index template to do it.

THE REAL BLAZE 03-19-2004 07:51 AM

the style i use is unnavailable now, i think, i bought it a while back. the site was vbforumskins.com

Bison 03-20-2004 01:42 PM

What's up?

I upgraded my version to the latest one and now the news threads don't update on the index page after I enter a new thread to the forum which my news is being called from. I renamed the "myvbindex.php" to "index.php" (For good reason) and this file is located in the root directory of my forum.

I'm using vb 2.30 ... Tigga, are you still providing support for this hack?

Zachery 03-21-2004 01:28 AM

Quote:

Originally Posted by Bison
What's up?

I upgraded my version to the latest one and now the news threads don't update on the index page after I enter a new thread to the forum which my news is being called from. I renamed the "myvbindex.php" to "index.php" (For good reason) and this file is located in the root directory of my forum.

I'm using vb 2.30 ... Tigga, are you still providing support for this hack?

Tigga trys to support as best he can, but he is busy and doesnt use vB2 all that much.

I do support when i get a new email here


Biso you say you upgraded to the newest version of myvBindex, but it hasnt been udpated in ages.

Did you make sure all your file based hacks are still in places and that the settings are correct?

Bison 03-21-2004 03:38 PM

Like I said,

I've upgraded from 3.1 to the latest version and now the news section doesn't update after creating a thread in that assigned forum. It will if I run the script that updates the news, but it didn't work like this before. One thing I noticed is that once I upload a copy of myvbnidex.php to the main forum area, and point to that file in my browser, the news works fine.

I renamed the file to index.php and have it placed in the root folder under the public_html directory (outside of the forum directory). I thought the file could be renamed to index.php so that it's the first thing anyone sees when they type in the url to my forum. I know that I could create a html redirect page to point to myvbindex.php, but why should I ... when all that should be needed is to rename the file?

hockyfan 03-24-2004 10:08 PM

I have this hack installed and then upgraded to vB3. How can I remove the "remains" of this hack (ie., the options in the admincp)?


h


All times are GMT. The time now is 10: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.03626 seconds
  • Memory Usage 1,820KB
  • 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
  • (6)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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