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 (https://vborg.vbsupport.ru/showthread.php?t=62020)

vonedaddy 04-19-2004 02:56 PM

I have it integrated into my VB3 site and it works nice other than ONE problem. It seems that people are logged in then when they click something and the page reloads it logs them out. And them when you try to log in again it, after the redirect page you go to the forums. ANY help would be greatly appreciated. If you would like to look at the site go here www.hereyah.com

Thanks

d1635d 04-19-2004 03:10 PM

TO~3.0.1

open:includes/functions.php

Find this code
========================

$name = COOKIE_PREFIX . $name;

========================

The replace is
=====================
if ($name != 'sessionhash')
{
$name = COOKIE_PREFIX . $name;
}
=====================

OK

cihangir 04-20-2004 08:56 AM

@d1635d, thank you very much ;)

a bugfix, that solves the problem with validating images uploaded by guests. found at: http://www.4homepages.de/forum/viewtopic.php?t=1659&postdays=0&postorder=asc&high light=validate&start=105

problem:
Quote:

A Guest uploads an image and the image gets uploaded on the server and I see the ?1 image awaiting for validation? on the Control Panel. I click on the link to go and validate the image and there are no results on the ?Validate Images? page. As if nothing was pending for validation.

Found: 1 Displayed: 1-1.
Images marked with ! denote image file that cannot be found on the server.

But on the list below that, nothing appears!!!
solution:

Open admin/validateimages.php and find this part

PHP Code:

$sql "SELECT i.image_id, i.cat_id, i.user_id, i.image_name, i.image_date, i.image_media_file".get_user_table_field(", u.""user_name").
        FROM "
.IMAGES_TEMP_TABLE." i, ".USERS_TABLE." u 
        WHERE 
$condition AND ".get_user_table_field("u.""user_id")." = i.user_id 
        ORDER BY 
$orderby $direction 
        LIMIT 
$limitstart$limitnumber"

Replace it with

PHP Code:

$sql "SELECT i.image_id, i.cat_id, i.user_id, i.image_name, i.image_date, i.image_media_file".get_user_table_field(", u.""user_name").
        FROM "
.IMAGES_TEMP_TABLE." i 
        LEFT JOIN "
.USERS_TABLE." u ON (".get_user_table_field("u.""user_id")." = i.user_id) 
        WHERE 
$condition 
        ORDER BY 
$orderby $direction 
        LIMIT 
$limitstart$limitnumber"


LeonHartHVA 04-21-2004 02:18 PM

Quote:

Step 3.
-------
Open includes/constants.php and edit the following parts:
I can't find constants.php in includes folder. Why? I'm using vbb 3.0.1

cihangir 04-21-2004 02:55 PM

Quote:

Originally Posted by LeonHartHVA
I can't find constants.php in includes folder. Why? I'm using vbb 3.0.1

you have to edit the constants.php of 4images.

NS_007 04-21-2004 08:19 PM

Quote:

Originally Posted by d1635d
TO~3.0.1

open:includes/functions.php

Find this code
========================

$name = COOKIE_PREFIX . $name;

========================

The replace is
=====================
if ($name != 'sessionhash')
{
$name = COOKIE_PREFIX . $name;
}
=====================

OK

This is in the forums functions.php?? If so, when I use this the forum and all other pages on my machine/server become blank pages.

d1635d 04-22-2004 09:28 AM

I use Vb 3.0.1 + 4images 1.7 to be normal

http://www.d1635d.com/BAD/

13th_Disciple 04-24-2004 01:40 AM

is this integration complete? are the directions and information in the first post correct?

if not, does the person who created this thread still post and regularly talk to people and post issues on 4images? i haven't seen him post lately and am not sure if I want to install this if the information is not solid and complete.. if someone can answer, i would really appreciate it.. also, maybe do a comple instruction set, assuming the original post is not thorough..

OGT 04-24-2004 04:10 AM

I have yet to see any gallery mod that works flawlessly yet 13th disciple. They all seem to have similar login issues, where they are not remembering users, or are totally going ape++++ when more than one person visits the gallery. both the coppermine installations and 4images seem to have the same issues with logging in and out and stuff.

if i understood how the cookies in both systems worked it would be a lot easier to track down, and I am sure soon I will end up plugging away at the research to get it to work.

it sucks because a good gallery integration is probably one of the last things that needs to be fleshed out for vb3.

13th_Disciple 04-24-2004 12:19 PM

thank you, ohgeetee.. i appreciate the response.. i guess i will just wait a bit longer then to see if anything comes of either this or the coppermine deal..


All times are GMT. The time now is 03:27 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.01289 seconds
  • Memory Usage 1,754KB
  • 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
  • (2)bbcode_php_printable
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)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