Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - X-Fan

Pages: 1 2 [3] 4 5 6
31
G'day all,

Just wondering if there's a way that you can track who downloaded a particular image in a gallery that has been integrated with a vBulletin message forum?

There's been hacks to track who downloaded attachments on vBulletin, so I'm assuming it wouldn't be so difficult to do the same for 4images, but I've no idea how!

32
What about the case where vBulletin is integrated with vbPortal?  vbPortal edits the vBulletin banner template to load its own up, which includes variables such as $showbanners and $TopMenu

Since vBulletin, vbPortal, and 4images all run off the same database, isn't it possible to have the 4images header do like the vBulletin header does and call the vbPortal header?  What would you need to do to have it do that?

33
Mods & Plugins (Releases & Support) / [Mod] Random Pic in vBulletin
« on: October 04, 2002, 03:32:24 AM »
Quote from: Nicky
eric,

i don't know, just try it...


Tried it, and it puts it in a table above the header.

34
Mods & Plugins (Releases & Support) / [Mod] Random Pic in vBulletin
« on: October 03, 2002, 05:51:55 PM »
Quote from: Nicky
i would try:

Code: [Select]

echo "<table><tr><td>$randompic</td></tr></table>";


Wouldn't that just put it in a table at the top of the page above the header?

35
Mods & Plugins (Releases & Support) / [Mod] Random Pic in vBulletin
« on: October 03, 2002, 05:31:56 PM »
Okay, some progress with getting a random pic in a side block on vbPortal.

What I did was to paste the code from the above text file into a php file (with <?php at the start and ?> at the end) and then uploaded it to my vbPortal includes directory.

I then created a new PHP block and edited the URL line to point to the php file in the includes directory.

The only problem with that is that the echo command has the image displayed right at the top of every vbPortals page above the header.  Now my question is how do I get it to display in the specified side block and only on the main vbPortal page, rather than above the header on every page?

36
Anyone?  I really need help with this ASAP, please!

37
Mods & Plugins (Releases & Support) / Re: [Mod] Star Rating
« on: October 02, 2002, 05:26:08 PM »
Quote from: Nicky
// ADD IN TEMPLATE(S) / FÜGE DIES IN DEIN(E) TEMPLATE(S)
Code: [Select]

<img src="{template_url}/images/{rating_pic}" width="55" height="10" alt="" />

// OR / ODER
Code: [Select]

<img src="{template_url}/images/{rating_pic}" width="55" height="10" alt="{lang_rating} {image_rating} ({image_votes} {lang_votes})" />



In which template, and where in that template, is this meant to go?

38
Hi there,

Just wondering, with an integrated 4images/vBulletin set-up, whether it would be possible to have the 4images gallery home page load up with the vBulletin header, including the top nav menu, for ease of navigation between the two?

39
Mods & Plugins (Releases & Support) / [Mod] Random Pic in vBulletin
« on: October 02, 2002, 08:53:08 AM »
Okay I tried adding the code to index.php and putting $randompic in a new side block on vbPortal but that didn't work, so I made a new PHP side block, included the entire code from the random_for_VB.txt file, and added echo $randompic; at the end but that only resulted in a parse error.

EDIT: The parse error is on the last line of the code...


$randompic 
"<a href=\"".SCRIPT_URL."details.php?image_id=$image_id\"><img src=\"".$thumb_src."\" border=\"0\" alt=\"$image_name\"></a><br /><smallfont>Image Name: $image_name<br />Comments: $image_comments</smallfont>\n";


I'd really prefer to have the random image come up on my site's vbPortal front page, rather than the front page of the forums, but how can I do it?

And just to reask, how would I get the code to extract the category name for the random image chosen and display it as a link to the category underneath the random image's name?

40
Mods & Plugins (Releases & Support) / [Mod] Random Pic in vBulletin
« on: September 28, 2002, 06:13:13 PM »
How would I get the code to extract the category name for the random image chosen and display it as a link to the category underneath the random image's name?

41
Quote from: Jan
If you want to display the upload button in the gallery only for admins, change the permission for upload in the category edit screen to "Administrators".


Ah, I already did that but wasn't sure if that removed the upload button for non-admins or not.

Thanks again Jan!  :D

42
Sorry to be a bother, Jan, but I have one more question relating to the admins only in the User dropdown box.  Will that only display the Upload icon button for admins, or is there something else I need to change so that anyone who isn't an admin doesn't see the Upload icon?

43
Everything's working perfectly now, thank you Jan!  You're a fantastic help, and I appreciate it very much!

Cheers,

44
Quote from: Jan
Ok, i have seen that you have nearly 3000 users registered. I guess that it takes this time to build up the user dropdown.


Ahhh, of course, that would be why...

Well, since I'm only allowing administrators at my site to upload images, is there any way I can limit the usernames it loads up to just those that are in the Administrators usergroup?

45
Jan, I'm using the modified sessions.php file, but it's still showing up 0 for invisible users even though there are currently two users marked with an asterisk, which is the indicator for a user whose status is invisible, in the online list.

Help!

Pages: 1 2 [3] 4 5 6