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)

supersimon 01-22-2003 08:48 PM

There seems to have been a slight problem with the LiquidFLO database.
Please try again by pressing the refresh button in your browser.

An E-Mail has been dispatched to our Technical Staff, who you can also contact if the problem persists.

We apologise for any inconvenience.


Database error in vBulletin 2.2.7:

Invalid SQL: SELECT thread.threadid,thread.title,thread.replycount,thr ead.postusername,thread.postuserid,thread.dateline ,thread.views,thread.iconid,thread.votenum,thread. votetotal,post.postid,post.pagetext,post.allowsmil ie,post.showsignature,user.signature,avatar.avatar path,NOT ISNULL(avatardata) AS hascustom,customavatar.dateline AS avatardateline FROM thread LEFT JOIN post USING (threadid) LEFT JOIN user ON (user.userid=post.userid) LEFT JOIN avatar ON (avatar.avatarid=user.avatarid) LEFT JOIN customavatar ON (customavatar.userid=user.userid) WHERE thread.forumid=62 AND isnews='Y' GROUP BY thread.threadid ORDER BY thread.threadid DESC LIMIT 5
mysql error: Got error -1 from table handler

mysql error number: 1030

Date: Wednesday 22nd of January 2003 05:34:42 PM
Script: http://www.liquidflo.com/rap/rap/myvbindex.php
Referer:


iv had my homepage up for 2-3 days and i come home,... and get this ??? can ayone help

Tigga 01-22-2003 09:42 PM

Supersimon - That looks like one of your tables has become corrupt. You should try running the repair.php file in the "extras" folder that came with vBulletin.

papa 01-25-2003 03:37 PM

Hi Guys,
I am trying to password protect my pages that are on myvbindex page so once they are logged in they can view our site. I have found a few things but nothing seems to work right. Is there anything like that in myVBindex?

So if they are not logged in it takes them to a reg. page and if they are it allows them access to the site.

Papa

jeffj 01-25-2003 05:10 PM

Quote:

Originally posted by papa
Hi Guys,
I am trying to password protect my pages that are on myvbindex page so once they are logged in they can view our site. I have found a few things but nothing seems to work right. Is there anything like that in myVBindex?

So if they are not logged in it takes them to a reg. page and if they are it allows them access to the site.

Papa

papa:

this should work for you...assuming you do not want un-registered/un-logged-in users to see your myvbindex.php page;

right after:

require('./global.php');

insert the following code:

PHP Code:

if ($bbuserinfo['userid'] == 0) { eval("dooutput(\"".show_nopermission()."\");"); } 


papa 01-26-2003 01:00 AM

Thanks Jeff,
It worked like a champ blocking me out but if I enter my username and pass it takes me to the member.php page and not the page I was at??? Could this be a setting in the log in page?

One more questions. Can I use:
require('./global.php');
if ($bbuserinfo['userid']==0) {
eval("dooutput(\"".show_nopermission()."\");");
}

on non vb pages can I use the above code as an include to protect those pages.

Thanks in advance

ranger2kxlt 01-26-2003 11:51 PM

plur planet, maybe you can help me with this

https://vborg.vbsupport.ru/showthrea...threadid=48130

please refer there, but we would also like this done on the vbindex pages we have, anyway?

Thanks

jeffj 01-27-2003 12:54 AM

Quote:

Originally posted by papa
Thanks Jeff,
It worked like a champ blocking me out but if I enter my username and pass it takes me to the member.php page and not the page I was at??? Could this be a setting in the log in page?

One more questions. Can I use:
require('./global.php');
if ($bbuserinfo['userid']==0) {
eval("dooutput(\"".show_nopermission()."\");");
}

on non vb pages can I use the above code as an include to protect those pages.

Thanks in advance

sure. I use it all the time...make sure you've got
require(./global.php');

at the beginning to make all the vb variables available.

papa 01-27-2003 04:33 PM

This is the error I get Jeff,
Parse error: parse error, unexpected T_REQUIRE in /home2/mmdclab/mmdclab-www/forums/v_blur_tool.php on line 1

????

papa 01-27-2003 05:22 PM

OK I got the require thing going but now I get this at the top of the pages:
Warning: Cannot add header information - headers already sent by (output started at /home2/mmdclab/mmdclab-www/forums/v_blur_tool4.php:3) in /home2/mmdclab/mmdclab-www/forums/admin/functions.php on line 1573

You can enter your username and pass and it will work ok but I am not sure where this error is coming from.

papa 01-27-2003 07:39 PM

ok we are making progress.
We do not get an error and it works everytime as long as the file we add this code to is in the forums directory. If we place the file in a folder it will not work. It keeps taking us to the member.php file and it is looking for it in the folder our protected file is in.

Anyone have any solutions to this? I guess we could just place all of our files we want to require registration in our forums folder but that would just get crazy.

Thanks in advance.


All times are GMT. The time now is 01:17 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.02722 seconds
  • Memory Usage 1,747KB
  • 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
  • (2)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