![]() |
The 4images is running on a brand new install. There was no changes, however it is still portraying some members as guests thats why some people cant see anything and some can.
Have you tried logging into your 4images as a normal registered user of vbulletin and seeing if you can see everything there is, including comments and all the functions? |
Quote:
do you have your admin account working fine? Do you have this part setup right, and please DO CHECK and see if forum's member has groupID =2 // User levels define('GUEST', 0); define('USER_AWAITING', 3); define('USER', 2); define('ADMIN', 6); |
A quick question, will this allow me to use the default vbulletin $header, $headerinclude, phpinclude, and/or $footer variables so that the layout is nicely integrated?
:) Thanks |
Quote:
|
hi,
after my update on vb 3.0.3 I can not log into 4Images anymore. At first it's was okay, but I cleaned up my Cache & Cookies and then I can't get into it. New Member can't get into it also. Slowy, I'm fed up with these free stuff! BYe |
I integrated a 4images module to the CMPS homepage. Take a look here:
http://www.vbadvanced.com/forum/showthread.php?t=1629 -y2k- |
Quote:
I use vB 303 + 4images and it works fine. Did you have 4images worked with older vB versions? |
Quote:
Thx. Okay after I have updated my vb 3.0.1 to 3.0.3 I checked if the Gallery works and at first it has. But after I logged out of the forum, an deleted my cookies, I logged me again into the forum an went over it to the Gallery but now I wasn't logged in anymore in the Gallery. I filed up the login Form from the Gallery but it says only "Thanks for logging in Pagan!" and redirect me on the Gallery startpage but I am not logged in. All my members have now the same Problems! Did I miss something? Have I to change some files after I have updated to vb3.0.3? I need help!!!!!!!!! Bye |
Problem Fixed! Forgotten to change the Files functions_online.php & functions.php after the update :D
But thx anway... |
Quote:
|
Hi guys
I am clicking install too now :) finally using this hack for my forums after some problems. I have the forum in the folder /forum/ and had the gallery in the folder /sbcgalleries/. I was never logged in in the forum when I went there and the problem was that I had to move the 4images gallery to /forum/sbcgalleries/. Does the 4images gallery always have to be a subfolder in the forums dir? If so I think this wasn't mentioned in the install.txt for this hack. although my who is online page says Unknow Location instead of viewing galleries.... this is in my functions_online.php file, anything wrong?? PHP Code:
|
Quote:
If you have problem, you may did some step wrong. Please check again. Quote:
you need to check that part too. |
Ok, online status is fixed. But now I have another problem. I usually log in to my forum and then go from a forum link to http://www.sandraboards.com/forum/sbcgalleries/ and I am logged in. But when I go directly to http://www.sandraboards.com/forum/sbcgalleries/ although I am logged in at the boards I am not logged in and when I type in my username and password I am re-directed and still not logged in. Any idea what might be wrong?
I used the latest version of this mod and went through all the steps a few times to check if I did something wrong but didn't find anything :( Nevermind, fixed the login thing, had a few path set wrong, although changing the path fixed the login problem I have a problem with the Show Online thingy again now lol, it says Unknow location although I fixed this part here to look like this PHP Code:
|
I changed the style of the 4images gallery to look like the vBulletin 3.0.3 standard design. If some people want to save time and use my changes as "template" I upload the required files here. The images go in the /gallery/templates/default/images/ folder and the .css file should simply replace with the old one of the default style (Backup your old files first).
There is a little problem with very long gallery names and picture names in the navbar, maybe someone can help me on how to fix this without changing to many template files. ...CSS margin and padding messes up the table so I won't use that as a solution. (Problem: http://www.sandrabullockcentral.com/...hp?image_id=19) Demo of Style applied: http://www.sandrabullockcentral.com/sbcgalleries/ Note: If your gallery is not a subfolder of yourdomain.com/forum/ you have to change the background: url lines in the .css file |
Quote:
|
It's perfect, only to log in, users have to make sure to uncheck the remember me box. Any way to fix?
|
Quote:
Make sure you have everything setup correctly. of if you have your board AND your album setting different, try to change the configuration accordingly. (for example cookie prefix). I have no idea how your board is, what's your setting nor configuration, so I cant give detail way to fix it. My version works fine, with and without checking "remember me" box. |
I have cookie prefix 's' and cooke name 'bb' for both and when I login to the galleries I get logged in but the page is still shown with the login box, unless I go to forum for login and click a link to the galleries then, otherwise the login box is always shown although I am logged in.... why is that?
Also is it possible to connect 4images to 5 usergroups from vB instead of just 4? Because I want to differ between Registered and Paying Registered members. |
The only reason I wanted to include my default vbulletin header and navbar is because it contains certain conditional statements and some phpincludes that I would like to include into the gallery as well
^^; is there any way to inpliment this? Could you show me how/where to look or start? |
Quote:
Check the template user_loginform.html and login variable in sessions.php file. I dont have any idea why you get that error yet (unless you did something wrong with your files) Quote:
Quote:
Look at header and footer template :) |
Quote:
Is there something I'm doing wrong? ?_? |
I am getting some error messages...
DB Error: Bad SQL Query: SELECT template FROM template WHERE title='options' Table 'gallery.template' doesn't exist DB Error: Bad SQL Query: SELECT sessionhash, lastactivity, host, userid FROM session WHERE sessionhash = '306bbfc285210bfca0d84486f0fc0145' AND host = '65.60.139.107' Table 'gallery.session' doesn't exist DB Error: Bad SQL Query: SELECT sessionhash FROM session Table 'gallery.session' doesn't exist DB Error: Bad SQL Query: SELECT u.*, l.* FROM user u, 4images_lightboxes l WHERE u.userid = 142 AND l.user_id = u.userid Table 'gallery.user' doesn't exist DB Error: Bad SQL Query: SELECT * FROM user WHERE userid = 142 Table 'gallery.user' doesn't exist DB Error: Bad SQL Query: SELECT sessionhash FROM session WHERE sessionhash = '952382793777ad4cc61475519bcf7167' Table 'gallery.session' doesn't exist DB Error: Bad SQL Query: INSERT INTO session (sessionhash, userid, host, useragent, lastactivity, location, styleid) VALUES ('952382793777ad4cc61475519bcf7167', 1, '65.60.139.107', 'Mozilla/4.0 (compatible; MSIE 5.01; Windows NT 5.0)', 1090117656, '/gallery/index.php', '0') Table 'gallery.session' doesn't exist DB Error: Bad SQL Query: SELECT s.userid, s.lastactivity, s.host, u.userid, u.usergroupid, u.username FROM session s LEFT JOIN user u ON (u.userid = s.userid) WHERE s.lastactivity >= 1090115856 ORDER BY u.userid ASC, s.host ASC Table 'gallery.session' doesn't exist DB Error: Bad SQL Query: SELECT DISTINCT i.image_id, i.cat_id, i.user_id, i.image_name, i.image_description, i.image_keywords, i.image_date, i.image_active, i.image_media_file, i.image_thumb_file, i.image_download_url, i.image_allow_comments, i.image_comments, i.image_downloads, i.image_votes, i.image_rating, i.image_hits, c.cat_name, u.username FROM 4images_images i, 4images_categories c LEFT JOIN user u ON (u.userid = i.user_id) WHERE i.image_active = 1 AND i.cat_id NOT IN (0) AND c.cat_id = i.cat_id ORDER BY RAND() Table 'gallery.user' doesn't exist DB Error: Bad SQL Query: SELECT i.image_id, i.cat_id, i.user_id, i.image_name, i.image_description, i.image_keywords, i.image_date, i.image_active, i.image_media_file, i.image_thumb_file, i.image_download_url, i.image_allow_comments, i.image_comments, i.image_downloads, i.image_votes, i.image_rating, i.image_hits, c.cat_name, u.username FROM 4images_images i, 4images_categories c LEFT JOIN user u ON (u.userid = i.user_id) WHERE i.image_active = 1 AND c.cat_id = i.cat_id AND i.cat_id IN (0) ORDER BY i.image_date DESC LIMIT 3 Table 'gallery.user' doesn't exist |
It seems like the tables aren't there in your database. I'm guessing your database name is gallery? It should be the name of your vbulletin database
|
my 4images databse name is gallery
should i be using the same db? Also, i ma using vb 3.0.3 if that makes a difference. |
uh, im an idiot im suppose to use same db lol
|
So i see 3.0.3 is not a problem with this Hack ?
|
Quote:
Granted, I've only upgraded to 3.0.3 a couple hours ago. |
Quote:
For now, people will just have to register at both separately, I guess! |
Quote:
if you have conditionals that only work for vBulletin, then you did know it ONLY works for vBulletin, didnt you :> well, my suggestion is, find some similar things in 4images and use it, or simplify the conditions. Quote:
|
hello
i m using vb3.03 and i m having problem with this interantion I followed all the steps and it was fine untill i changed cookie timeout in 4images to 0 right after the installtion, i was logged out as admin and never have any chance to login again... i m still being able to login my forum, but when i logout i get a error ask me to click the link again to logout. i tried to login using a registered member "demo", 4images logged demo into the system and it worked. however after i click logout, i get the same error message. after logout, cookie for demo at forum was cleared but demo still logged into 4image... so i cleared all the cookie in my IE(also checked folder to make sure none of the cookies left) open up IE again and i m still logge in as demo in 4image. i have my forum and 4images both running on different subdomains... please help! |
nevermind problem sloved for no reason...thank you anyways..
|
Should we be posting here or on 4images website?
Anyhow, I had a redirection problem with the login form from the 4images site. For some reason, it would redirect to my domains index page instead of the gallery, so in user_loginform.html: I took: Code:
<input type="hidden" name="url" value="{self_full}" /> Code:
<input type="hidden" name="url" value="http://www.mydomain.com/path/to/my/4images/folder/" /> Any idea why? And YES, I bolded the period after the domain. Cause that's what it says. My guess is that the {self_full} variable is messed up. Other than that, it seems to be working perfectly with vB 3.0.3 |
did you have this in constants.php setup correct?
Code:
// If 4images has problems to find out the right URL, define it here. page_header.php: "self_full" => $site_sess->url($script_url."/".$self_url), |
First of all sorry for my broken english.
After I implemented hacked to integrated vb and 4images - onething I'm found that when you click at user name it alway re-direct to vb profile page and it difficult to show all photo uploaed by someone specialy. so I did more modified user profile link to 2 different function.. As see in attached image. if user click at name under a photo (highlight with yellow) 4images won't re-direct you to vB user profile but it will search and show all photos uploaded by that user but if user click at name on "curent active users" (highlight with magenta) it will re-direct and show vb profile page. (see live action at http://www.thaidphoto.com/gallery/ ) if someone interest in this I will post the hack here. Just want to give something to this hack. ;) |
not bad, but come to the point of profile, I'd add a link in profile (when you view someone profile), something like "Find All Images by xxx", and link back to your search.
You can also integrate a images count for user profile, so that you can know how many images someone has uploaded. I've heard that 4images 1.8 is on the way, so I wouldnt touch too much for right now :D |
I'm getting this error :
Code:
DB Error: Bad SQL Query: SELECT template FROM template WHERE title='options' |
Hi, this is a question for those who have installed 4images. Do you have any cookies issues? That was my biggest complaint with photopost. Never could get the cookies to work with vB. I tried to get help on the photopost forums but it just never worked (they made suggestions but nada). People would have to relogin to the gallery, and then when they got back to the forums relogin there. And then some folks could not even log into the gallery (forum members), which makes the gallery pointless for those people.
So any known cookies/session issues ? Feedback appreciated. Thanks. |
Never had any problems with that. :)
Works just fine. |
Hi mtha, I ended up just hard coding the URL in and removing the variable from the template.
But now, I have another problem, a cookie problem. It's recognizing that I've logged in. But I can't get into the admin. This was working a when I just installed it about a week ago. Now, I goto my album: http://www.learntoquestion.com/class/travels/photos/ and when I login, the form doesn't recognize that I've already logged in and continues to display the login form. It does the same when I try to get into the admin. Any ideas? Edit: This is really weird. Right now it's not working in Safari (1.2.2), a browser for the Mac. I just tried it in Netscape 7.1 for the Mac and it works perfectly fine. WEIRD. Any ideas why? |
I'm a little confused about 4images...
It says in the requirements that prior to installing 4images from this thread I need 4images 1.7 installed. Where do I get this other version, and is that really necessary? |
All times are GMT. The time now is 12:11 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:
|