vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   vBindex v3.0.0 RC5 (https://vborg.vbsupport.ru/showthread.php?t=59524)

Wachtmeister 04-30-2005 09:20 PM

Hello,

i would like to know, how i can force a specific style for vbindex.php

I don't want to use standard style for vbindex.

Regards, Wachtmeister

thetieger 05-05-2005 03:18 AM

I'm getting an error when I try to install this... if someone could please help it would be appreciated (nobodyelse got help on the subject, that i found)

here's the error when going to mydomain.com/vbindex.php

PHP Code:

 Database error in vBulletin 3.0.3:

Invalid SQL
        
## GET NEWS ##
        
SELECT thread.*,thread.iconid AS threadiconidthreadpost.pagetext AS pagetext,
        
threadpost.attach AS attachcount,
        
        
        IF(
user.displaygroupid 0user.usergroupiduser.displaygroupid) AS displaygroupid
        FROM thread 
AS thread
        LEFT JOIN user 
AS user ON (thread.postuserid user.userid)
        
LEFT JOIN post AS threadpost ON (thread.firstpostid threadpost.postid)
        
LEFT JOIN deletionlog AS deletionlog ON(thread.threadid deletionlog.primaryid AND type 'thread')
        
        
        
WHERE forumid IN ()
        AND 
deletionlog.primaryid IS NULL
        
AND forumid NOT IN (0)
        AND 
thread.open <> 10
        
AND thread.visible '1'
        
        
        
ORDER BY  thread.dateline DESC
        LIMIT 0
mysql error
You have an error in your SQL syntax.  Check the manual that corresponds to your MySQL server version for the right syntax to use near ')
        AND deletionlog.primaryid IS NULL
        AND forumid NOT IN (0)


mysql error number: 1064 

any help is VERY appreciated, I feel im SO close !

-Thetieger

Bainzy 05-07-2005 12:35 PM

i have that very same error mate, have you managed to get it sorted ???

techhouse 05-13-2005 12:32 PM

How i can make all links hidden from guest in vbindex.php ?
thanks

Kaelon 05-13-2005 05:13 PM

The vbiupgrade.php file would not load up under vBulletin 3.0.7.

sweden_i500 05-16-2005 10:35 AM

How do I use my own PHP scripts in the vbindex_customblock_1?

Can't find any info....

I've added this to the vbindex_customblock_php:

case 1:
print ("Hello this is from PHP");
break;

Is this correct? Or should I add a link for my external php script?

Help

swiss 05-16-2005 09:02 PM

can you unistall this

as it does not seem to have worked properly. So wanted to run through it again.

As it does not change any code can i just delete the files off the server and start over?

Thanks

Ozymandyus 05-16-2005 10:13 PM

I've looked through as much of the 153 pages of posts as I can, eyeballs are still spinning, but I did not find a specific answer to a problem I'm running into. I have a test board set up at:

http://www.luznet.com/index.php

Have installed vBindex with no errors other than the looping one. As you can see if you look at it, some of the image paths, rather than displaying as, for example, "http://www.luznet.com/images/icons/icon1.gif" are instead displaying as "http://www.luznet.com/index.php/images/icons/icon1.gif". Many of the links on the nav bars also have this problem, trying to log out for example, sends you to "http://www.luznet.com/index.php/login.php?do=logout" instead of "http://www.luznet.com/login.php?do=logout". The polls do the same thing. Oddly enough, a few things like Shoutbox do not have this problem.

Anyway, it's not just an image problem, as it also effects the links. I assume there must be a borked setting somewhere. I see a lot of references to having '/' as your cookie path, which I do indeed have correctly set. What else am I missing here? Hate to miss out on what appears to be an excellent hack due to just one little bug somewhere!

Ozymandyus 05-17-2005 07:02 PM

I'm fairly good at fixing things, but just can't seem to pin this one down. Would greatly appreciate it if someone could point me in the right direction, here...

greenhybrid 05-17-2005 08:18 PM

Is there an uninstall script?

Ozymandyus 05-17-2005 09:34 PM

Yes, you can uninstall it by just calling the install page again. It detects that you have already done one, and asks if you want to reinstall/remove it.

I tried that as well, did a reinstall, removed/reuploaded the files, and tried again, but I get the same result. Somewhere or another it's not setting up a lot of the URLs correctly.

dsboyce8624 05-17-2005 10:49 PM

Quote:

Originally Posted by Ozymandyus
I've looked through as much of the 153 pages of posts as I can, eyeballs are still spinning, but I did not find a specific answer to a problem I'm running into. I have a test board set up at:

http://www.luznet.com/index.php

Have installed vBindex with no errors other than the looping one. As you can see if you look at it, some of the image paths, rather than displaying as, for example, "http://www.luznet.com/images/icons/icon1.gif" are instead displaying as "http://www.luznet.com/index.php/images/icons/icon1.gif". Many of the links on the nav bars also have this problem, trying to log out for example, sends you to "http://www.luznet.com/index.php/login.php?do=logout" instead of "http://www.luznet.com/login.php?do=logout". The polls do the same thing. Oddly enough, a few things like Shoutbox do not have this problem.

Anyway, it's not just an image problem, as it also effects the links. I assume there must be a borked setting somewhere. I see a lot of references to having '/' as your cookie path, which I do indeed have correctly set. What else am I missing here? Hate to miss out on what appears to be an excellent hack due to just one little bug somewhere!

Maybe it's not polite to plug another product here but I've installed vBadvanced a couple times now without major issue. Unless you have a reason for not using it, maybe you should check it out.

Dennis

Ozymandyus 05-18-2005 03:44 PM

Appreciate the info, Dennis. I tried it out and actually ran into the same problem with the links that I had with vBindex, which led me to believe the problem lie in the main board settings, or the way they worked with the add-ons. Fortunately, the support for vBadvanced is much more comprehensive and responsive than that for vBindex, and although I didn't find a specific solution in their dedicated forums, I found some clues that eventually led me to the answer.

For posterity, I post what I found here in the hopes that it can help someone in the future. To summarize, instead of proper links in the nav bars of the portal pages (e.g. http://www.yoursite.com/login.php), I was instead getting links that had the index page also incorrectly referenced (http://www.yoursite.com/index.php/login.php). Obviously, this made many things not work correctly. The setting I had incorrect was AdminCP -> vBulletin Options -> Site Name / URL / Contact Details - > Forum URL. I had http://www.yoursite.com/login.php listed, when the correct setting instead was http://www.yoursite.com (no trailing '/'). You may or may not also need to change the 'Homepage URL' setting as well. I think that this issue came up in large part because I chose to install my board in the root of my hosting account, rather than making a sub-directory for it. I would recommend that others also put the forums in a sub-folder, just to avoid problems like this.

Haven't decided between vBindex or vBa at this time, still deciding which I prefer. Leaning towards the feature set in vBindex, but am a bit gunshy due to the lack of responsiveness here toward install issues.

greenhybrid 05-20-2005 05:51 PM

I ran the uninstaller and my templates are still there. Why didn't it work?

xTerMn8R 05-20-2005 07:49 PM

Here's a little HelpI rembered from when I installed a while ago.

Cookie Issue: There is a work around but I forget where I found it long ago. If ya search for "Cookie Work around" I believe you'll find it.
Code:

define('USE_COOKIE_WORKAROUND', 1);
is what you'll put in ur vbiconfig.php file.

As far as the Links and the icons this also should be able to be fixed in the vbiconfig.php. I'm runninmg on a linux server and My path is as follows;
Code:

define('CHDIR_PATH', '/home/ctc/public_html/');
This puts ya to the root where my vBulletin Forum files and folders are. I had to play around with this for a bit if I remember correctly, but finally got it to work.

Good Luck ....Hope this helps...

Big Daddy 05-20-2005 10:43 PM

Ok.... I have successfully insatlled everything (it seems), but now I want to edit my vbindex page so I can show shout boxes, "news", calendar, etc, etc, etc.... I can't find where to do it from. Can anyone help please... I have gone into the admin control panel, to Style Manager, can't find it... I have gone to "edit templates"... can't find it.... etc... Could I be overlooking something. Am I even looking in the right place??

In fact, I may not even have a vbindex page..... when I go into the "mydomain.com/forums/" it brings up a page with the list of categories, and forums i created, but I am not even sure that's the "vbindex" page. Please help.

Thanks in advance.

fishpie 05-20-2005 11:25 PM

Hi -
thickie Newbie here!
I've installed vBindex exactly as per instructions... no problems
gone into the cp... set a few options... but nothing is showing up on any of my pages....
I don't need to set up any modules do I (for simple things like shoutboxes etc)??

I presumed everything (apart from the custom boxes) was done from within the vBindex cp... is this correct???

thanks in advance

:nervous: :nervous:

fishpie 05-20-2005 11:35 PM

Quote:

Originally Posted by Big Daddy
Ok.... I have successfully insatlled everything (it seems), but now I want to edit my vbindex page so I can show shout boxes, "news", calendar, etc, etc, etc.... I can't find where to do it from. Can anyone help please... I have gone into the admin control panel, to Style Manager, can't find it... I have gone to "edit templates"... can't find it.... etc... Could I be overlooking something. Am I even looking in the right place??

In fact, I may not even have a vbindex page..... when I go into the "mydomain.com/forums/" it brings up a page with the list of categories, and forums i created, but I am not even sure that's the "vbindex" page. Please help.

Thanks in advance.

Big Daddy.... have a look under the vBulletin Option menu on the left menu... there should be a new link for vBindex....

poetic 05-21-2005 06:00 AM

im getting this error for some reason

Code:

Database error in vBulletin 3.0.7:

Invalid SQL:
                ## GET NEWS ##
                SELECT thread.*,thread.iconid AS threadiconid, threadpost.pagetext AS pagetext,
                threadpost.attach AS attachcount,
               
               
                IF(user.displaygroupid = 0, user.usergroupid, user.displaygroupid) AS displaygroupid
                FROM thread AS thread
                LEFT JOIN user AS user ON (thread.postuserid = user.userid)
                LEFT JOIN post AS threadpost ON (thread.firstpostid = threadpost.postid)
                LEFT JOIN deletionlog AS deletionlog ON(thread.threadid = deletionlog.primaryid AND type = 'thread')
               
               
                WHERE forumid IN ()
                AND deletionlog.primaryid IS NULL
                AND forumid NOT IN (0)
                AND thread.open <> 10
                AND thread.visible = '1'
               
               
                ORDER BY  thread.dateline DESC
                LIMIT 0
mysql error: You have an error in your SQL syntax.  Check the manual that corresponds to your MySQL server version for the right syntax to use near ')
                AND deletionlog.primaryid IS NULL
                AND forumid NOT IN (0)


fishpie 05-21-2005 04:14 PM

Hi -
Newbie here...
I've been messing with vBindex for a few hours (installed it fine) -- but I just can't seem to get any of the modules to show up on my web pages??

Trouble is I'm working blind - I'm not really sure what I'm supposed to do... are there any basic how to guides on this forum... I've done searches and looked at dozens of pages -- but as yet haven't found the basic instructions....

please... can someone point me in the right direction

thanks...

:nervous:

mb425 05-23-2005 09:55 PM

I have an update on my problem. After playing around with it for awhile, I got to work as long as people are logged in, but I would like it to work without having to be logged in. Once again, I get the error:

Unable to add cookies, header already sent.
File: /home/mbhp/public_html/disney/forums/vbiconfig.php
Line: 34

It also gives me an error when I try to logout from the vBindex page, but when I return to the board, I am logged out anyway. Any help?

keymistress 05-25-2005 08:53 AM

simple question... after upgrading my vbindex i have duplicate templates in the form of for example: vbindex_footer and vbindex_footer__3.0.0_RCS. my question is, which one do i delete? am i supposed to delete one of them?

judge_fire 05-26-2005 02:38 PM

Hi, I'd need a bit of help.

'News' has this great feature of showing a number of characters from a post. How could I add this text blurb to the 'Latest Threads' (vbindex_centerthreadbit), which is otherwise exactly like the functionality I'd like to have?

The newsbit template seems to be calling something by the name of '$news[pagetext]' ?

Any help immensely appreciated,

J

Sir_Yaro 05-27-2005 03:41 PM

If you want to add/move shoutbit field over shoutbox:

find in vbindex_shoutbox template:
PHP Code:

<a href="$_SERVER[PHP_SELF]?$session[sessionurl]action=shoutbox"><strong>$vbphrase[shoutbox]</strong></a>
                    </
td>
                </
tr

add below:
PHP Code:

<center>
<
form action="$_SERVER[PHP_SELF]method="post">
                                    <
input type="hidden" name="action" value="newshout" />
                                    <
input type="hidden" name="s" value="$session[sessionhash]/>
                                    <
textarea name="shout" rows="4" cols="15" class="bginput"<if condition="$shoutbox['postdisabled']"disabled="disabled"</if>><if condition="$shoutbox['postdisabled']">$vbphrase[shoutbox_disabled]</if></textarea>
                                    <
br />
                                    <
br />
                                    <
input type="submit" name="comment_submit" value="$vbphrase[shout_now]class="button"<if condition="$shoutbox['postdisabled']"disabled="disabled"</if> />
                                </
form>
</
center

screenshot:
(attachment)

ams3521 05-28-2005 07:32 PM

I seem to be getting the same error as Poetic above when i enable 'news' can anybody help?

ams3521 05-29-2005 04:48 PM

Sorted , just filled in the news boxes in admin vbindex menu and bingo.

redhotstang00 05-29-2005 07:53 PM

getting this error on my vbindex.php

Warning: main(./global.php): failed to open stream: No such file or directory in d:\home\shw2_151\toledofastfordracing.com\public_h tml\vbindex.php on line 145

Fatal error: main(): Failed opening required './global.php' (include_path='.;c:\php4\pear') in d:\home\shw2_151\toledofastfordracing.com\public_h tml\vbindex.php on line 145

how can i fix this?????

Hoang Tu Ao Den 06-02-2005 07:02 PM

Is there anyway to make View Who's Online function regconize vbindex ?
Right now, it shown:
User Hoang Tu Ao Den: Unknown Location
/forum/vbindex.php

Big Daddy 06-04-2005 09:15 PM

EVENT COUNTDOWN>>> How do I set up an event countdown custom sideblock on vbindex?? Please help.

JoeyAnderson 06-05-2005 04:46 PM

Quote:

Originally Posted by redhotstang00
getting this error on my vbindex.php

Warning: main(./global.php): failed to open stream: No such file or directory in d:\home\shw2_151\toledofastfordracing.com\public_h tml\vbindex.php on line 145

Fatal error: main(): Failed opening required './global.php' (include_path='.;c:\php4\pear') in d:\home\shw2_151\toledofastfordracing.com\public_h tml\vbindex.php on line 145

how can i fix this?????

Same error here, too. No idea how to fix.

Crazyducky 06-05-2005 10:14 PM

I got a problem. I've set up all the settings and stuff but vBindex won't show on the frontpage :( Is their anyway to fix this?

Big Daddy 06-06-2005 11:30 PM

point your browser to www.yourdomain.com/vbindex.php (assuming you haven't renamed it yet) and see if it is working properly. If it is, then delete your current "index.htm" file, rename the vbindex.php to just "index.php", and it should work.

Delphy 06-08-2005 09:11 AM

Quote:

Originally Posted by JoeyAnderson
Same error here, too. No idea how to fix.

Comment out the chdir() line thats near the top of vbindex.php

Rampag33 06-10-2005 12:54 PM

I've been through the vbindex for vb3 and haven't been able to find how to do multiple portals using your hacc. For example:

domain.com/vbindex.php (forumid=1)
domain.com/vbindex2.php (forumid=22)


There is a link to:

http://www.coreforums.net/forums/sho...e?threadid=418

But it redirects to the vb.org forums thread.

GoTTi 06-11-2005 02:51 AM

i just installed vbagallery, and there is a problem with my images showing on the index now of vbindex. all basically are the icons

the address is reading something like:

http://www.site.com/forums/http://ww...cons/icon1.gif

any ideas?

Big Daddy 06-11-2005 05:49 PM

Quote:

Originally Posted by Big Daddy
EVENT COUNTDOWN>>> How do I set up an event countdown custom sideblock on vbindex?? Please help.


Please help

Behrooz_Ice 06-13-2005 07:16 PM

hello all
i have installed vBindex Version 3.0.0 RC5 in our forums , its very good and simple portal but i want to add custom block in front and center index site now. i want put some banners in this block. there is no menu in admincp vbindex for do that. please tell me how i can create this block in above of my vbindex ?
sorry for poor english :smoke: regards

deta 06-14-2005 01:10 PM

vbindex is geat.

Is an update for vb3.5 plan or even already in work?

Thanks

cu Deta

GoTTi 06-14-2005 03:59 PM

and now i noticed after installin the vbagallery that on the index, the news threads are coming up like:

Default (News Thread Title)

like that, and the news thread title is linkable to the thread, but where it says Default is not. wierd. any ideas?

SONOFSAM 06-17-2005 10:58 AM

Hoping someone can help me.

I dont have my main page visable to non-register, so the you need to sign in/register page shows to guest. The problem is the register link is wrong. its pointing to www.mysite.com/register.php instead of www.mysite.com/forums/register.php.

I went through a bunch of templates trying to find any register.php and making them the full URL but I still cant find the one for the main page of vbindex!

Please tell me what I need to edit to correct this. Thank you!


All times are GMT. The time now is 03:20 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.04073 seconds
  • Memory Usage 1,874KB
  • 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
  • (3)bbcode_code_printable
  • (3)bbcode_php_printable
  • (5)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