![]() |
I just installed twice and it still isn't working.
mtha, I just signed up for your forums/gallery. When I login through your gallery page, then close my browser, reopen, and go to your gallery it shows me as not logged in. ?? |
MTHA!!!! YOU DID IT!!! IT WORKS COMPLETELY!!!! YOU ARE THE MAN! IF I WAS NEAR YOU I WOULD KISS YOU!!!!!! :) :) :) :)
ANYONE still having problems, start with a fresh install or fresh unhacked VB and 4IMAGES files... if you go slow you can't mess it up... ITS PERFECT! YOU ROCK!!! NO MORE LOGGING OUT!!! WOOHOO STAND UP JOB MTHA!!! |
Mine seems to only remember sessions for admins now. Normal users are not remember as being logged in.
|
Quote:
|
Quote:
the new sessions.php in the first post was updated. basically, you will only need to change the condition: Look for: PHP Code:
PHP Code:
or you can remove the whole && $this->user_info['user_level'] != USER_AWAITING well, I see this doesnt make alot of sence to force those who are awaiting for email confirmation not to be "remembered". but it was is the original code, so ... I just leave it there in case someone use it. Quote:
|
That works. Thanks.
One thing though, it is still not displaying that users are viewing the gallery in my vB forum. I went through all the steps several times and it still says Viewing Index (the forum index). Any ideas on this? Is that working on your forum? |
Quote:
yes it is working fine on my forum. https://vborg.vbsupport.ru/showpost....5&postcount=35 instead of using album for token, use gallery in your case. in gallery/include/sessions.php PHP Code:
make sure that you have this lines correct in sessions.php too PHP Code:
PHP Code:
$site_db->query($sql); [/PHP] if it does not seem to work, do some test: - access your album (either login or not login). Make sure that leave the browser stay IN ALBUM, dont go to forum :D - login to your database, maybe using phpMyadmin - browse to session table, and look for your record (based on your IP, maybe) here's the query to show it: Code:
SELECT * FROM `session` WHERE host = 'XXX.XXX.XXX.XXX'; - check the location field, and see if there's anything in there. it should show /gallery/xxxx if you have everything correct. |
It does seem like you didnt have your album location saved in database (looking from "guest" view).
if the above doesnt work, you may want to put some text before $this->user_location and see if the text is saved in database. :D PHP Code:
|
I found the problem. I didn't set the case check in the vB functions_online.php file to be "gallery"
|
Quote:
Quote:
perhaps it's unreasonable to ask you to make a hack I want however I believe vb3 communities really need a hack like that. vb.org has no music online script. I anyways hope you will change your mind somedays |
Quote:
|
I posted this in the wrong post before, but the issue of logging out and closing the browser and returning DIRECTLY to the gallery does not show you as logged in. I am running IE and I have ran the steps 3 times and it doesnt work. It worked for the first few times as noted by my post above but now its doesnt work at all. I think Creed might be on to something, its just not picking up the vbcookie
|
Quote:
I am having a few problems with the functions_online.php but I haven't done everything mtha was explaining yet. Did you install this updated mod on the first post of this thread? |
Yes I Did, I did everything twice however it has stopped functioning. It worked the first day or so, but now it doesnt work. I am not hte only one as every member of my forum is having difficulty.
If you care to test it out goto my website www.mogusland.com register on the forums and then check out the multimedia link on the main page. |
Mine works now. Actually the problem I had was it was only remembering Admin users, not regular users. mtha posted a fix for this, which I think is included in the zip download now. Try redownloading the zip and reinstalling, or follow his instructions in a post a few points up.
Also note that I was having problems with IE caching. I found it easier to use Firefox or Mozilla to debug and test with. When it worked on those browsers I then made sure it worked in IE. |
If it doesnt work in IE why would it work in those other browsers lol ;) I donwload the zip this morning.
|
Which post are you referring to? If i close my browser and return to the gallery directly I am not logged in...so which post has the fix for this?
|
Quote:
better clean the cache files, and download the file from first post. make sure that you dont download the old one. (ie problem sometime) Quote:
I'm getting to like Firefox, maybe will switch someday |
Quote:
go to your /4images/includes/sessions.php look for PHP Code:
PHP Code:
Read the text on top of your browser, compare string 1 and 2, and see if they are the same. if they are NOT, check the licence_number and the input string remember to remove the echo line afterward, it's only for TESTING |
This Code doesnt display anything on my Gallery Page.
|
I have edited every single file Again and still no go. If i close my browser and return to the gallery directly i am still logged out.
|
do you have your forum setup sessions ad .mogisland.com ? seems like you have your forum setup in a subdomain.
It seems like your album didnt read cookie at all if you want to try, look for PHP Code:
PHP Code:
you have to open a NEW browser, in order to see the result. |
lol.
I wrote the hack based on a standard vb version, which has bb as cookieprefix You have your cookieprefix being moguslandforums that's why now you need to do some more work: edit the sessions.php replace all bb by moguslandforums they are in bbuserid, bbpassword, bbstyleid (this one is not important), bblastvisit |
Hi all,
integration in vB3 works fine. I've just a problem when I logout out of the forum or the 4images Gallery I get a message saying that there was a problem to log me out. Is that normal or missed I something ? |
Quote:
Open: "forums/includes/functions.php" Find: $name = COOKIE_PREFIX . $name; Replace with: if ($name != 'sessionhash') { $name = COOKIE_PREFIX . $name; } Close and Save: forums/includes/functions.php Someone correct me if I'm wrong? |
I have this kind of code in my functions.php of vB but still get the error while login off. I checked my code and the instructions three times to be sure that all parts are correct ;)
|
Quote:
that's the direct post where I have the fix, for vB 3.0.1 it should be included in the instruction file pay attention to these lines: in sessions.php $url_logout = $url_app."login.php?do=logout&u={myuserid}"; includes/page_header.php $myuserid = $user_info['user_id']; |
Quote:
MTHA, That did it. I feel like such a tool that I didnt think of that, when I read your post I literally smacked my forehead. heheh. Perhaps you should put something in your installation instructions now if people are having issues with the cookie to check that there cookie is 'bb' or something else because I have a cookie issue on my computer with a 'bb' prefix cookie and thats why I had to change mine. Perhaps some other people have a different cookie prefix as well and it wouldnt hurt to add that in your instructions. My INTEGRATION works PERFECTLY so far and its all thanks to MTHA for following up on MatrixGL's work. I would say lets nominate this for Hack of the Month as it wasnt an easy integration to code up it seems heeheh. Way to go MTHA, I salute you for being a pillar of the VB community! You literally ROCK! :) Everyone with 4IMAGES and VB needs this hack. :) |
Quote:
have fun Updated on the first post: (Update 06/25/2004) https://vborg.vbsupport.ru/showpost....37&postcount=1 |
Hey MTHA, I am having a text error where Registered board members are appearing as GUESTS and not Registered Members on the Comments Portion of the Gallery, any ideas? My Gallery is closed off to Guests and Only Registered Members can post so he didnt post as a guest.
|
Quote:
I didnt see the error over your http://www.mogusland.com/media/index.php cant tell anything now, because I havent seen the errors nor the reason for it :P could be cookie-prefix again? I'm not going tu guess what the bug would be. I will try to fix it if I see it. Can you show me a demo? |
Ok, here you go.
http://www.mogusland.com/media/detai...?image_id=2095 If you look at the comments, under Lord-of-Shadow it says 'GUEST' Only that comment has been made after the integration and they say they don't have as many options as a registered user does to upload or add comments. It seems it recognizes them as a Registered User but the script labels them as a GUEST. Anyone else having this issue? It still works but its just displaying Members Incorrectly. |
Quote:
I have no problem with comments at all, but I've been using 4images since vB2, and my board using different naming table, so ... it's just different. since I still DONT see the problem, I cant give you a hint. Just a question. did you install 4images (the original version) and test it, did it work? Well, you may want to run this querry, to see what comments you have for that image SELECT * FROM `4images_comments` WHERE image_id=2095; (change 4images_comments to whatever your comments table would be) |
Quote:
I checked your instructions again, found no missmatch, put the files again on the server via ftp and now it works ;) perhaps I forgot to ftp some files... thanks for your great support on this Hack ! |
Quote:
|
Quote:
Quote:
|
If I click on the email Button of the comments in 4 images Gallery I get a incomplete URL
http://www.yourdomain.com/forum/sendmessage.?do=mailmember&u=XY I think this is a problem of vB because they use variables for extensions. How this can be fixed ? the right url should look like: http://www.yourdomain.com/forum/sendmessage.php?do=mailmember&u=XY |
Quote:
you can either download the new file in the first post, or go to edit your sessions.php and there's a link there for messages, add the .php in there http://www.yourdomain.com/forum/sendmessage.php?do=mailmember&u=XY |
thanks again mtha ;)
|
great, have just installed it successfully
/me clicks install ^^ gonna modify the style to fit my board thanks mtha ! |
All times are GMT. The time now is 03:42 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:
|