![]() |
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 |
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.
|
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 |
Quote:
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:
|
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 |
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 |
Quote:
require(./global.php'); at the beginning to make all the vb variables available. |
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 ???? |
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. |
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. |
For some reason my "Latest Forum Topics" does not work... when i enter in 0 for the value the header shows up. and if it. if i enter in 10 then i still get just the header...
what should i do to fix this??? |
i havnt been up to date on this thread. has that mini hack addon been made yet?
|
I apologize for not being around to help these last few days. My normal job is a club promoter and this weekend was our 2 year anniversary event, and one of the biggest we've done yet. Things were extremely busy around here so I haven't had much time to check vb.org... Plus I kinda had to take a day to relax and recover from the weekend. Now I'll see if I can help with some of the questions. :)
Ranger - Open your myvbindex.php file and look for: PHP Code:
PHP Code:
Papa - Is it looking for the member.php file in the wrong directory and resulting in a blank page when you first try to go to the password protected page, or is it just redirecting you to the member.php file after you log in from one of those pages? Matrix - Was the latest threads part working before and suddenly stopped, or has it not ever worked? Have you modified your myvbindex file at all? If so, try uploading a fresh version and name it something other than what the current file is called and see if it works on that one. You could also try checking your index_threadbit template and make sure it's not blank, and your index template to make sure the $threadbits variable is in there right below the header part. DarkDraco - I'm assuming you mean a hack to keep the index page open if the forums are closed. If so, sorry but I haven't had time to work on that yet. |
I can only remember my latest threads working the very first time i loaded it. after that it had never worked... and it stopped working before i tried 2 modify the file. i loaded a fresh copy onto my server and when i view it still nothing for it. and for my index_threadbit well here is the code in it...
Code:
<tr><td bgcolor="$getbgrow">$thread[icon]<normalfont><a href="$bburl/showthread.php?s=$session[sessionhash]&threadid=$thread[threadid]"><b>$title</b></a></normalfont><br> |
Ok lets say in my custom boxes I decide to make them into a nav bar how would I go about making a new page like a staff page where the things on the left and right are the same but where news is is the new tables and stuff. If it's been posted already Im sorry I went through 16 pages looking for it.
|
Mono - I did something similar to what you are asking with the WEBTEMPLATES hack
you just have to put in some extra code like PHP Code:
Here is a live demo of myvbindex: XtReMoDs WEBTEMPLATES: Template If you PM me then i can tell you more about what code to add... |
Mono - Something like that could be done fairly easily. I know I already explained how to do it somewhere in this thread, but I couldn't find it by searching, so I'll just explain it again. :)
If you'll open your myvbindex.php file and look for this line: // News Right above that you'll want to place some coding like this: PHP Code:
PHP Code:
Then you'll want to create a template called index_newpage (of course you can call it whatever you'd like, just be sure to change the name in the code above). Then to link to that page, you would use the url http://yoursite.com/myvbindex.php?s=$session[sessionhash]&action=newpage And again the "newpage" part after the action can be changed to whatever you'd like, just be sure to change that in your coding as well. |
Awesome hack. I love it but I have two problems.
1. When I go to install the weather_install.php. I get a "The page cannot be displayed". This page is in my admin directory and I don't know why I get this error when trying to execute it. 2. When my calendar shows it has the current time and date but the date that is highlited on the calendar is the wrong one. What can I do to fix this. My site that I installed this mod on is a test site for my main site. The hack can be viewed on http://lifestrails.com |
I keep getting an ERROR here when i post a poll.
Code:
Fatal error: Call to undefined function: get_bbarraycookie() in /home/moguslan/public_html/myvbindex.php on line 251 Can anyone help me out? |
Quote:
and before I forget ... *clicks install* |
Attroll - That's strange that it would be giving you an error like that for the weather part. I know one other person was having a similar problem before and we never could figure out why. Double check that the file was uploaded to your forums/admin folder and that you are going to the right url in your browser. If it still doesn't work for you let me know and I will post a file here with the queries so you could run the queries through phpMyAdmin instead.
As for the calendar, that should work correctly and highlight the current date according to the time that is set in your Admin CP. I just checked your site and it has the correct date highlighted. If you're still having problems with it though let me know and I'll try to figure out what's wrong. Colon33 - Are you running vBulletin 2.2.5 or lower? That's a function that was apparently changed in 2.2.6, and that's the lowest version I've had to test it with. For the time being, I believe you could remove this code from your myvbindex.php file: PHP Code:
Mono - Thanks for installing the hack. Hope you enjoy it. :) |
Actually, this may work too for the cookie function problem. This is the function from 2.2.9, so if it was added in it should fix the problem. Just open your myvbindex.php file and look for:
require('./global.php'); Right below that Add: PHP Code:
|
I would like to replace the News part on the front page with just the forums.. so that way you have the forums with the info boxes on the left and the right..
Is this possible to do? Russ |
Hi there,
Nice Hack, it's working great here. Is it possible to prevent the latest forums topics portion from showing threads that they do no have access to. Sometimes the subject of the message gives information you don't want the whole board to see. |
Quote:
|
This is the error:
Quote:
PHP Code:
Quote:
but If i change PHP Code:
PHP Code:
Quote:
Quote:
|
ok the chdir bit is sorted, its the global bit i still have a problem with
|
OK, I have a question about the whole action= thing.
Whenever u put action="pagename" can u make that the template name. so then i would not have to make an if then statement for each page i make. so if i type: myvbindex.php?action="templatename" then the template would come up. Am i explaining this right? |
I can't edit the thread, check ip or warn as it keep showing the same postid. Every time I click edit my post or someone else post it goes and edit the first thread. Goto the thread below and you will know what I am talking about.
http://www.bmwclub.com.my/forums/sho... s=&threadid=2 |
TotlKaos - Yes, that would be possible with a bit of hacking. I'll test it out and try to post instructions on what you would change a little later.
Tankmech - Private topics in the latest threads part are only visible to those who have permission to view them. If you log out or log in as a user that does not have access to those forums, those threads should not be visible. If they are still visible, you should make sure your forum permissions are set so that those usergroups are not allowed to see other's threads in that forum. Matrix - Yes, you should be able to change "action" to pretty much whatever you would like. It would just need to be changed in the code and the url. Just adding templates alone would not work though. If you wanted to have more than one seperate page like that, you would need to add something like this: PHP Code:
KeneticKangaroo - The path to your fourms should be /usr/local/psa/home/vhosts/airwavescomms.co.uk/httpdocs/forums and you should not have changed the require part. certify - That wouldn't have anything to do with this hack. It looks like something has been messed up either in the code or your postbit template. The best thing I can suggest is for you to make a backup of your postbit template and then revert it to it's original to see if that's where the problem is. If that doesn't work, you should try uploading an unhacked version of your admin/functions.php and/or showthread.php files. The problem would most likely be in that template or one of those files. |
Thanks for the tip. :)
|
Nothing is showing up in the middle section of my front page now... Am i doing something wrong?! Everything else is 100% just its balnk in the middle row, but both sides are fine?!?!
|
OK. The calendar started working. I guess it was just a glitch. I reuploaded weather_install.php to my forum/admin folder and tried to run it again and now I get the following error:
Parse error: parse error in /usr/local/etc/httpd/htdocs/lifestrail/forum/admin/weather_install.php on line 35444 Is this because it is trying to create an SQL database file? If so I can not do that on my own my host has to create it for me. |
!2eS!n - Were the posts in your news forum made before or after you installed the script? The scirpt will only recognize posts that were made after it was installed. If you need to update those posts, search this thread for phpMyAdmin and you should be able to find how to update those posts. If the posts were made afterwards, then your News Forum ID is not set correctly, or you did not edit your newthread.php file correctly.
attroll - I double checked that line of code in the weather_install.php file and there's nothing there that could cause that error. It's possible though that the file got cut off during transfer, which would result in an error like that. I would suggest to try re-uploading the file and make sure it is uploaded completely, and then run the script again. If that doesn't work let me know. |
I tried uploading the file in binary and asc and not matter what I keep getting the same problem when I try to execute the file.
The page cannot be displayed The page you are looking for is currently unavailable. The Web site might be experiencing technical difficulties, or you may need to adjust your browser settings. I kept getting this error the every time until the other night when I reuploaded and got the last error message in my last post. But this current one is the one I was getting every other time. Man what the hell is going on? |
i have a problme plsea help me why
Adding city values 1-10,000... Database error in vBulletin Control Panel 2.2.6: Invalid SQL: INSERT INTO weather_city VALUES ('AYXX0007', 'Base Arturo Prat', 263) mysql error: Duplicate entry 'AYXX0007' for key 1 mysql error number: 1062 Date: Thursday 06th of February 2003 09:54:14 AM Script: http://localhost/vbbb/vbbb/admin/wea...all.php?step=4 Referer: http://localhost/vbbb/admin/weather_install.php?step=3 |
attroll - I'm really not sure why it would be doing that. One other person has had a problem like that before, but I have no idea why. About the only thing I can suggest is to run the queries manually through phpMyAdmin. Here's a link to the thread that has the queries and instructions - https://vborg.vbsupport.ru/showthrea...513#post318513
redstaing0 - That's most likely a result of you hitting the "next" link twice when installing the weather. The best thing I can suggest for you to do is to upload the myvb_uninstall.php file to your forums/admin folder and go to this url - http://yoursite.com/forums/admin/myv...all.php?step=3 That should remove all changes for just the weather part, and then you can run the weather_install.php script again. |
i will try it agen today
but it is cool hack thankes i will try it agen now i hop they help to install |
I cannot get the news to show on the page! weird :(
|
Would there be some way to exclude specific forum or thread id's from the "Latest Forum Topics" section on the main page?
|
All times are GMT. The time now is 11:33 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|