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)

CreedFeed 06-22-2004 11:12 PM

The integration simply integrates vB's user database with 4images - so if you are logged into your vB forum, you are also logged into 4images. No need for two separate logins. It makes it very convienant (sp?) for your users - they don't need to signup for your forums and image gallery.

mtha 06-23-2004 01:40 AM

Quote:

Originally Posted by Highlander
is it now possible to write for example an post/Thread and show the screenshots with image gallery?
or is only the comment system integrated .. this way is better than no way .. just asking what exactly the integration dows .. the demo i saw .. but thread/post integration could not be defined .. (on comment system)

Dont really understand your question but in the first post:

Screenshot:
https://vborg.vbsupport.ru/atta...achmentid=17021

Demo:
http://www.randomforum.com/forums/gallery/


=============================================
Features:
=============================================
- Use vBulletin's user database to access 4images album
All forum's members can access your 4images album and upload pictures (depends on permissions). You dont need to register twice in forum and album.

CreedFeed 06-23-2004 04:45 AM

I have another question about adding to this hack... when you view your forum's Who's Online page it shows any user who's browsing the gallery as "Viewing Index" and the link below goes to the forum index. How would you edit it to say "Viewing Gallery" and the link below links to your gallery?

KTBleeding 06-23-2004 05:30 AM

mtha, say I'm running more than one 4images on my site..
I'm using one for a .. let's say "classified" script, and the other as an "album" script.

In the "functions_online.php" how would I make it so one says, "Browsing Album" and the other say, "Browsing Classifieds"??

mtha 06-23-2004 08:40 AM

Quote:

Originally Posted by CreedFeed
I have another question about adding to this hack... when you view your forum's Who's Online page it shows any user who's browsing the gallery as "Viewing Index" and the link below goes to the forum index. How would you edit it to say "Viewing Gallery" and the link below links to your gallery?

Read the instruction file and follow the steps carefully.

There's a part in step 4 to do it:

======================
<edit file>
includes/functions_online.php
</edit file>
======================

<search for>
PHP Code:

 switch($userinfo['activity'])


</search for>
<add after>
PHP Code:

// Album user online Mod
case 'album':
$userinfo['action'] = 'Browsing album';
$userinfo['where'] = "<a href=\"$userinfo[location]\">$userinfo[location]</a>";
break;
// End 

</add after>
======================
<search for>
PHP Code:

 else
{
$userinfo['activity'] = 'modcp';
}
return 
$userinfo;


</search for>
<add after>
PHP Code:

// Album user location 
else if (strpos($token"/album/") !== false)
{
{
$userinfo['activity'] = 'album';
}
return 
$userinfo;


</add after>
======================

make sure that you have that part correct
and remember to correct the token too

else if (strpos($token, "/album/") !== false)


Quote:

mtha, say I'm running more than one 4images on my site..
I'm using one for a .. let's say "classified" script, and the other as an "album" script.

In the "functions_online.php" how would I make it so one says, "Browsing Album" and the other say, "Browsing Classifieds"??
same as above, you have another token for /classified/ add add the same code (replace the name) in the places




by the way, the $token will read the value from $userinfo['location'];
if you dont have the location field for album different from forum's, you may get in trouble with this :D

deathemperor 06-23-2004 01:54 PM

Quote:

Originally Posted by mtha
Are you looking at the whole database (with forum installed)? or what?
anyway, it's up to you for the version you are using.

what's the different?

No. I design the skin to match my site, I dont look for free skins. sorry cant help here :D

of course it's only the 4iamges, and even with the forum the whole database couldn't be that much.
the difference is: I thought all GVN's work is of BM, as far as I've heard from others admin, BM takes care almost all the important things of GVN. now I see you are a good hacker then you may do some role in GVN life ^^
sorry to going off topic. I'm going to install 4images to trouble you by this hack
mtha do you plan to make any hacks ? like a music online hack which fully uses vb3 template and function ? I am looking for a good hack like it.

KTBleeding 06-23-2004 03:37 PM

Okay, I just reinstalled this mod and when I go directly to the gallery, I'm logged in, but some of my users aren't.. They are logged in to vB, but not 4images.

Was this fix supposed to check if they are logged into vB and have them be logged into 4images, or is it basically they go to the gallery, log in, and then it keeps them logged in/remembered?

CreedFeed 06-23-2004 04:54 PM

Ahh I just realized I have been looking at the wrong installation file. I've been looking at the old one posted on the 4images website - the one made before this thread. That's why I didn't have the fix for the who's online thing, as that isn't in that installation file. Whoops!

mtha 06-23-2004 05:53 PM

Quote:

Originally Posted by KTBleeding
Okay, I just reinstalled this mod and when I go directly to the gallery, I'm logged in, but some of my users aren't.. They are logged in to vB, but not 4images.

Was this fix supposed to check if they are logged into vB and have them be logged into 4images, or is it basically they go to the gallery, log in, and then it keeps them logged in/remembered?

This hack supposed to allow you login directly to album AND login to forum then go to album.

It is working fine in my album/forum :D

why dont YOU try to test it yourself? doing this:
- login to your album (without "remember me" checked)
- login to your album (with "remember me" checked) and close browser and come back to album
- login to your forum (with/without "remember me" checked) and browse to album from there.

Make sure that you CLEAN your cookies before doing this (just to make sure that you dont have other cookie problems)

come back and let me know how it works.

It you can do it fine, and your member cant do it, then the problem could be at your member's side, tell him to clear his cookies or check his computer :D
if you get trouble too, register for me an account over your forum/album, and PM to me, I will take a look


CreedFeed, do you have everything working as it's supposed to?

Quote:

the difference is: I thought all GVN's work is of BM, as far as I've heard from others admin, BM takes care almost all the important things of GVN. now I see you are a good hacker then you may do some role in GVN life ^^
if you look at this hack, you will see some part if this one from him. He's a great coder though, and he does take care of all the important things of GVN. and you are really funny too. you think that I, having a administrator title, do no role in GVN life? :tired:

Quote:

mtha do you plan to make any hacks ? like a music online hack which fully uses vb3 template and function ?
No I dont. There're too many "music online" scripts, and I am not interested in this.

CreedFeed 06-23-2004 06:35 PM

mtha,

Actually I'm still having a problem. It seems that the session fix thing isn't working in Mozilla and Firefox. It works in IE, but not the other two. I've cleared my cookies and all that stuff.

What I'm going to do is reinstall the 4images gallery from the beginning because I ended up missing some of the steps from that installation file. I want to be sure I have done everything. I'll update my status when I'm done. Starting this now...


All times are GMT. The time now is 10:52 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.01501 seconds
  • Memory Usage 1,765KB
  • 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_php_printable
  • (7)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