vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   User Integration: 4images Gallery 1.7.2 + vB 3.5.4 (https://vborg.vbsupport.ru/showthread.php?t=98640)

vBFreak 09-26-2006 06:32 PM

Quote:

Originally Posted by VViper
I love 4 images and so do the members.

hey has anyone got a method for pulling in random images from the gallery into Vbadvanced?

Ok, there we go.

1) Download the attached random.php (I've modified the one from that mod a bit to fit with vBAdvanced).
Edit it and change:
PHP Code:

define('ROOT_PATH''./4images/'); 

To the folder of your 4images installation. Upload it to the modules/ folder in your forum's root directory (where your vBA-Module files are).

2) Create a new template called adv_portal_gallery and put the following content into it (Don't forget to change ./4images/ to your 4images path:
Code:

<tr>
        <td class="$bgclass">
                Name: $image_name<br /><br />
                <a href="./4images/details.php?image_id=$image_id" target="_blank"><img src="$thumb_src" alt="" border="0" /></a><br /><br />
                Comments: $image_comments
        </td>
</tr>

3) Add a the module to your vBAdvanced, choose PHP-File as the source.
Enter the following data into the fields:
  • Module Title: Gallery
  • Column: Left or Right, depends on where you want to have it (Don't use center!)
  • File to Include: random.php
  • Identifier: gallery
  • Templates Used: adv_portal_gallery

You may now use the following variables in your template:
$total_images - The total number of images in your 4images gallery
$image_id - The ID of the random image
$cat_id - The category of the random image
$image_name - The name of the random image
$image_comments - The number of comments made for the random image
$thumb_src - The link to the random thumbnail file

See also the attached screenshot, it works fine for me :)

vBFreak 10-08-2006 08:35 PM

If you are interested in SEOing your Gallery and to integrate it into your vBSEO Sitemap you should first install the 4images SEO mod and then download my small addon for the vBSEO sitemap

Shinji Ikari 10-09-2006 04:51 PM

this mod no work with 4images 1.7.3? i only have 1.7.3 and i dont found 1.7.2 version

vBFreak 10-09-2006 10:50 PM

I have not tested it for myself, but I also dislike that 4homepages doesn't offer an archive to find older versions.

Others said that they've confirmed that it works with 1.7.3 aswell, so just give it a try :)

nader 01-05-2007 07:53 PM

I already test this mod with 4iamges 1.7.4 it does not work fine. any update

web-rocket 02-15-2007 05:20 PM

Yes a fix for 3.6.4 would be nice.

vBFreak 02-15-2007 07:51 PM

It works fine with vBulletin 3.6.4 and 4images 1.7.2, so I would recommend you to use 4images 1.7.2 for now - however, don't forget to apply all the security fixes if you want to use 1.7.2! You can find them on the 4homepages website.

I don't know what's going on with this hack in the future but for now it seems mtha doesn't have the time to active develop and support it at the very moment, we have to be patient for now and I hope aswell as you to see a new version for this as soon as possible.

littleone 02-16-2007 01:21 PM

Please give an update for 4images 1.7.4 with VB 3.6.4.

There is no point in going back to older versions of 4images considering the security problem.

..and after all I had bought VB considering this hack would be there ........

kai3k 02-16-2007 08:05 PM

@ mtha: Please give us an update to work with 4images 1.7.4

and and guide how to use vbulletin 3.6.4 with 4images 1.7.4 would be great too.

Please!

Sadie Frost 02-18-2007 09:00 PM

Quote:

Originally Posted by Chrissicom (Post 839855)
Ok this is a weird bug I have. Internet Explorer users can login without any problems through the picture galleries or forums page without any problems (no matter if remember me is checked or not).

If someone uses Firefox 1.0.4 or 1.0.5 logging in through the galleries page won't work. Also when you login through the forum (which works) you are still not logged in, in the galleries. Is that a Firefox bug??

I have this same problem in Firefox 2.0.0.1 - has anyone found a fix for that? Thanks :)


All times are GMT. The time now is 10:58 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.01570 seconds
  • Memory Usage 1,742KB
  • 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
  • (1)bbcode_code_printable
  • (1)bbcode_php_printable
  • (2)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