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)
-   -   4images Gallery 1.7 + vB 3.0.x (update Oct 30) (https://vborg.vbsupport.ru/showthread.php?t=66335)

romanticyao 07-27-2004 12:32 AM

nevermind problem sloved for no reason...thank you anyways..

clio 07-27-2004 08:23 PM

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}" />
and replaced it with:
Code:

<input type="hidden" name="url" value="http://www.mydomain.com/path/to/my/4images/folder/" />
Before I did that it was redirecting to: http://www.mydomain.com./index.php?

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

mtha 07-29-2004 04:37 PM

did you have this in constants.php setup correct?
Code:

  // If 4images has problems to find out the right URL, define it here.
  define('SCRIPT_URL', 'http://www.yourforum.com/album'); //no trailing slash

remember to put the correct URL for your 4images album

page_header.php: "self_full" => $site_sess->url($script_url."/".$self_url),

pjk 07-29-2004 05:41 PM

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. ;)

mtha 07-30-2004 03:10 AM

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

Blam Forumz 08-04-2004 07:01 PM

I'm getting this error :

Code:

DB Error: Bad SQL Query: SELECT template FROM template WHERE title='options'
Table 'blamina_4Img1.template' doesn't exist

DB Error: Bad SQL Query: SELECT sessionhash, lastactivity, host, userid FROM session WHERE sessionhash = '499eb95af60bba8a0622fc347dafbe04' AND host = '81.155.5.216'
Table 'blamina_4Img1.session' doesn't exist

DB Error: Bad SQL Query: SELECT sessionhash FROM session
Table 'blamina_4Img1.session' doesn't exist

DB Error: Bad SQL Query: SELECT sessionhash FROM session WHERE sessionhash = '133a211366c69ffd6dbfbcca5837c3ee'
Table 'blamina_4Img1.session' doesn't exist

Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /home/blamina/public_html/forum/album/includes/db_mysql.php on line 164

DB Error: Bad SQL Query: INSERT INTO session (sessionhash, userid, host, useragent, lastactivity, location, styleid) VALUES ('133a211366c69ffd6dbfbcca5837c3ee', 1, '81.155.5.216', 'Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7) Gecko/20040626 Firefox/0.9.1', 1091649604, '/album/index.php', '0')
Table 'blamina_4Img1.session' doesn't exist

Warning: Cannot modify header information - headers already sent by (output started at /home/blamina/public_html/forum/album/includes/db_mysql.php:188) in /home/blamina/public_html/forum/album/includes/sessions.php on line 111

Warning: Cannot modify header information - headers already sent by (output started at /home/blamina/public_html/forum/album/includes/db_mysql.php:188) in /home/blamina/public_html/forum/album/includes/sessions.php on line 111

Warning: Cannot modify header information - headers already sent by (output started at /home/blamina/public_html/forum/album/includes/db_mysql.php:188) in /home/blamina/public_html/forum/album/includes/sessions.php on line 111

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 >= 1091647804 ORDER BY u.userid ASC, s.host ASC
Table 'blamina_4Img1.session' doesn't exist

Parse error: parse error, unexpected '<' in /home/blamina/public_html/forum/album/includes/page_header.php on line 274

Help please, I use vBulletin 3.0.2 and I use the latest 4Images

Steph2k 08-04-2004 09:23 PM

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.

Vega 08-04-2004 09:37 PM

Never had any problems with that. :)
Works just fine.

clio 08-04-2004 09:50 PM

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?

edeab220 08-05-2004 08:27 PM

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 01:16 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.02305 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
  • (4)bbcode_code_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
  • (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