4images Forum & Community

4images Modifications / Modifikationen => Mods & Plugins (Releases & Support) => Topic started by: IcEcReaM on March 18, 2006, 10:51:32 PM

Title: [MOD] Favorites Counter // How many user added this picture to their lightbox
Post by: IcEcReaM on March 18, 2006, 10:51:32 PM
This is just a simple modification,
unworth to call it a real mod.  :mrgreen:

[ Description ]
This mod shows in details page, how many users has added this picture to their lightbox / favorites.
It uses mysql Regexpression search to find the related entries,
and will save much ressources instead of reading out every lightbox (into an array).

A Demo can be seen here: Demo Link (http://icecreamtest.ic.funpic.de/gallery/details.php?image_id=114)

Download here (http://icecreamtest.ic.funpic.de/gallery/categories.php?cat_id=21)
You can register your own account (no email verification is needed)
or login in with 4images/4images.

Have Phun.

If the Download link not available, look here:
http://www.4homepages.de/forum/index.php?topic=12182.msg127963#msg127963




Title: Re: [MOD] Favorites Counter // How many user added this picture to their lightbox
Post by: mawenzi on March 18, 2006, 11:08:14 PM
simple but nice modification ...  :wink:
b.t.w.
( ist eine informative Erweiterung der Detailinformationen ... und ich denke diese Modifikation wird von vielen genutzt werden ... danke IcEcReam )

mawenzi
Title: Re: [MOD] Favorites Counter // How many user added this picture to their lightbox
Post by: Stoleti on March 18, 2006, 11:08:18 PM
Nice mod  :D and very simply to install  :P
Title: Re: [MOD] Favorites Counter // How many user added this picture to their lightbox
Post by: V@no on March 18, 2006, 11:14:03 PM
Very nice!
But I didnt get the demo link...its pointed to the statistics page, yet the mod is for image details page only...

/me confused...
Title: Re: [MOD] Favorites Counter // How many user added this picture to their lightbox
Post by: IcEcReaM on March 18, 2006, 11:18:13 PM
Very nice!
But I didnt get the demo link...its pointed to the statistics page, yet the mod is for image details page only...

/me confused...

my fault, i posted to fast...^^
demo link corrected.
Title: Re: [MOD] Favorites Counter // How many user added this picture to their lightbox
Post by: ascanio on March 19, 2006, 07:43:00 PM
Thank you so much! this is exactly what I wanted!!!! :)
Title: Re: [MOD] Favorites Counter // How many user added this picture to their lightbox
Post by: Matthias70 on March 19, 2006, 09:25:05 PM
DANKE IcEcReaM

Kleines aber feines Mod, das mir sehr gut gefällt.
Erstaunlich, dass es immer wieder Verbesserungen gibt.

viele Grüße
Matthias
Title: Re: [MOD] Favorites Counter // How many user added this picture to their lightbox
Post by: Stoleti on June 29, 2006, 10:29:02 PM
i would make visible the list of users of who had added (only visible for admin) ???

can this be avaliable ? :?:
Title: Re: [MOD] Favorites Counter // How many user added this picture to their lightbo
Post by: thebeing on September 09, 2006, 01:30:14 PM
the link is dead...could someone re-up it, please???
Title: Re: [MOD] Favorites Counter // How many user added this picture to their lightbo
Post by: tdkpaul on September 09, 2006, 08:07:24 PM
@ icecream

are you developing a new annotations/ notes MOD?
Or is it only a test?

looks interesting for me!
I am just curious.
Title: Re: [MOD] Favorites Counter // How many user added this picture to their lightbo
Post by: dosensteck on September 11, 2006, 03:00:51 AM
danke für den mod :)
Title: Re: [MOD] Favorites Counter // How many user added this picture to their lightbox
Post by: deechtemarco on October 12, 2006, 10:48:26 PM
Is it posible that the names  with the link to the userdetails, of the users who have the picture in they Lightbox are printed in details.htm ?
Title: Re: [MOD] Favorites Counter // How many user added this picture to their lightbox
Post by: IWS_steffen on October 17, 2006, 06:13:58 PM
Danke IcEcReaM,

cooler MOD

Gruß Steffen
Title: Re: [MOD] Favorites Counter // How many user added this picture to their lightbox
Post by: malpa on August 03, 2007, 11:46:05 PM
Thanx for this great MOD!

Works perfect in 1.7.4.

Malpa, Belarus.
Title: Re: [MOD] Favorites Counter // How many user added this picture to their lightbo
Post by: egyptsons on August 05, 2007, 12:45:01 AM
Thanks
I like this MOD
 8)
Title: Re: [MOD] Favorites Counter // How many user added this picture to their lightbox
Post by: Mr_LovaLove on August 06, 2007, 07:40:42 PM
the download link is not working


from the attached file ! looks gr8 and nice


could you please, attached here !! ( if its possible )
Title: Re: [MOD] Favorites Counter // How many user added this picture to their lightbox
Post by: mawenzi on August 06, 2007, 07:55:28 PM
@Mr_LovaLove 

... the download works on Icecreams website ... please accept that ... !
... so, register -> loggin -> and download the mod ...
Title: Re: [MOD] Favorites Counter // How many user added this picture to their lightbox
Post by: Mr_LovaLove on August 07, 2007, 07:11:23 AM
i do eccept anything  that user want

im not talking of being lazy to only register

the site is not working from my home so im using another connection to can access that site ( from my job :S )

hope that works !

and thanks for ur replay


Title: Re: [MOD] Favorites Counter // How many user added this picture to their lightbox
Post by: Mr_LovaLove on August 07, 2007, 07:24:36 AM

Yes i do register !! and its working !!

but by time to time i got error

Network Error (tcp_error)

 
A communication error occurred: "Operation timed out" 
The Web Server may be down, too busy, or experiencing other problems preventing it from responding to requests. You may wish to try again at a later time. 

For assistance, contact Customer Support. 


maybe that help ther users who will come after me :P to try more

Title: Re: [MOD] Favorites Counter // How many user added this picture to their lightbo
Post by: thunderstrike on August 07, 2007, 02:25:31 PM
Quote
Network Error (tcp_error)

 
A communication error occurred: "Operation timed out"
The Web Server may be down, too busy, or experiencing other problems preventing it from responding to requests. You may wish to try again at a later time.

For assistance, contact Customer Support. 

Provider problem (him or you). Send ticket to host.
Title: Re: [MOD] Favorites Counter // How many user added this picture to their lightbox
Post by: mawenzi on August 07, 2007, 02:47:27 PM
... download works perfect for me ...
Title: Re: [MOD] Favorites Counter // How many user added this picture to their lightbo
Post by: thunderstrike on August 07, 2007, 02:49:40 PM
Then - must be Mr_LovaLove. Host prob.
Title: Re: [MOD] Favorites Counter // How many user added this picture to their lightbox
Post by: Mr_LovaLove on August 30, 2007, 05:22:36 PM
it might be from my host

but i didnt use this mod coz i cannot download it
Title: Re: [MOD] Favorites Counter // How many user added this picture to their lightbox
Post by: Mr_LovaLove on August 30, 2007, 05:26:07 PM
now it works !


and perfect :S

i downloaded the mod
Title: Re: [MOD] Favorites Counter // How many user added this picture to their lightbox
Post by: Mr_LovaLove on August 30, 2007, 06:30:35 PM
thanks

work perfect :)

Title: Re: [MOD] Favorites Counter // How many user added this picture to their lightbox
Post by: NetRebel on July 20, 2008, 03:39:35 PM
Nice and easy to implement MOD, thank you! Extremely annoying site though. Why do webmasters keep thinking people want pop-up shit when visiting a site? :evil:
Title: Re: [MOD] Favorites Counter // How many user added this picture to their lightbox
Post by: Sunny C. on August 02, 2008, 12:17:30 PM
Ich find den Download nicht !?
Bin angemeldet und in der Modlist ist dieser nicht vorhanden!
Title: Re: [MOD] Favorites Counter // How many user added this picture to their lightbox
Post by: Jan-Lukas on August 02, 2008, 09:12:20 PM
nö, aber direkt hinter dem Link auf Seite 1 :wink:
Title: Re: [MOD] Favorites Counter // How many user added this picture to their lightbox
Post by: Sunny C. on August 04, 2008, 08:05:58 PM
Habs!
Fein, aber klein :D

Habs in meiner Liste aufgenommen!
Title: Re: [MOD] Favorites Counter // How many user added this picture to their lightbo
Post by: bergblume on November 17, 2008, 12:54:53 PM
Quote
Is it posible that the names  with the link to the userdetails, of the users who have the picture in they Lightbox are printed in details.htm ?
is this feature meanwhile already realized?
Title: Re: [MOD] Favorites Counter // How many user added this picture to their lightbox
Post by: alekinna on November 19, 2008, 01:40:51 AM
Quote
Is it posible that the names  with the link to the userdetails, of the users who have the picture in they Lightbox are printed in details.htm ?

in the file details.php find
Code: [Select]
//-----------------------------------------------------
//--- Print Out ---------------------------------------
//-----------------------------------------------------
$site_template->register_vars(array(

replace with
Code: [Select]
$sql = "SELECT l.lightbox_image_ids, u.user_id, l.user_id".get_user_table_field(", u.", "user_name")."
FROM (".LIGHTBOXES_TABLE." l, ".USERS_TABLE." u)
WHERE l.lightbox_image_ids LIKE '%$image_id%' AND u.user_id=l.user_id";

$result = $site_db->query($sql);
  $lightbox_row = array();
  while ($row = $site_db->fetch_array($result)) {
    $lightbox_row[] = $row;
  }
  $site_db->free_result($result);
  $num_rows = sizeof($lightbox_row);
if ($num_rows) {
    for ($i = 0; $i < $num_rows; $i++) {
$lightbox_list .= "<a href=\"".$site_sess->url(ROOT_PATH."member.php?action=showprofile&amp;".URL_USER_ID."=".$lightbox_row[$i]['user_id'])."\">".$lightbox_row[$i]['user_name']."</a>";
if ($i+1 != $num_rows) {
$lightbox_list .= ", ";
}
}
}

//-----------------------------------------------------
//--- Print Out ---------------------------------------
//-----------------------------------------------------
$site_template->register_vars(array(
"lightbox_list" => $lightbox_list,

in your details.html file use {lightbox_list} to insert the list of names.
Title: Re: [MOD] Favorites Counter // How many user added this picture to their lightbox
Post by: mawenzi on November 19, 2008, 09:57:46 AM
... thanks alekinna for this little, nice and usefull addon ...
... works perfect ...

PS.
... but I use it only as admin links ...
... with ...
Code: [Select]
if ($user_info['user_level'] == ADMIN) {

... your lightbox_list code ...

}
Title: Re: [MOD] Favorites Counter // How many user added this picture to their lightbo
Post by: bergblume on December 04, 2008, 05:43:37 PM
Quote
in your details.html file use {lightbox_list} to insert the list of names.


hi, very cool MOD!

one question - I have also installed the member personal photo MOD (http://www.4homepages.de/forum/index.php?topic=6797.0) - how is it possible to show not only the text names but also the photos of the user... what do I have to use in details.html in order to show user-profile photos

greetings,
bergblume
Title: Re: [MOD] Favorites Counter // How many user added this picture to their lightbox
Post by: sanko86 on February 03, 2009, 07:39:00 PM
thank you

beautiful function.
Title: Re: [MOD] Favorites Counter // How many user added this picture to their lightbox
Post by: lailash on May 14, 2009, 11:27:27 AM
Hallo,

wie bekomme ich diese Informationen in der Bildervorschau angezeigt?

thumbnail_bit.html

<a href="{cat_url}">{cat_name}</a><br />
{if allow_comments}{lang_comments} {image_comments}{endif allow_comments}<br />
{lang_image_lightbox_count} {lightbox_count}<br />
{lightbox_button}</td>

Version: 1.7.4

lg lailash
Title: Re: [MOD] Favorites Counter // How many user added this picture to their lightbox
Post by: bergblume on July 07, 2009, 03:23:26 PM
der mod ist einfach nur genial! klein aber fein...
wie kann ich {lightbox_count} in meiner thumbnail_bit.html angezeigt bekommen... wenn ich {lightbox_count} dort einfüge wird mir leider kein wert angezeigt...
gruss, bergblume
Title: Re: [MOD] Favorites Counter // How many user added this picture to their lightbox
Post by: BartAfterDark on July 09, 2009, 03:36:19 PM
Anyone has a download link for this mod? :)
Title: Re: [MOD] Favorites Counter // How many user added this picture to their lightbox
Post by: daymos on July 10, 2009, 01:54:05 PM
Hi! Great mod, but i don't see file to download. How to create user rank = count_favorites / all_images_by_user *100% ?
Title: Re: [MOD] Favorites Counter // How many user added this picture to their lightbo
Post by: rinaldos on July 11, 2009, 01:39:33 PM
The Download Link is in first Post :-) And it is working .-)

Gruß

Title: Re: [MOD] Favorites Counter // How many user added this picture to their lightbox
Post by: oasis123 on July 15, 2009, 06:22:57 AM
Hi,

I'd added this mod, and found lot of users adding to my favourites (light box), the more number of users added it the better quality it had, so for me this metric seems to be the best measure for measuring quality of picture uploaded, I want to print statistics on top 5 uploaders based on my favorites counter, and top 5 pictures based on my favorite counter, could you please suggest me code for this, statistics mod had all metrics except this.

also, if I install V@no's multiple lightboxes, does this my faorites counter mod works?

Thanks.
Title: Re: [MOD] Favorites Counter // How many user added this picture to their lightbox
Post by: MrAndrew on March 17, 2011, 06:48:36 AM
Who have this MOD? Please send me... Download link not work. Site got an error
Title: Re: [MOD] Favorites Counter // How many user added this picture to their lightbox
Post by: Marion on May 19, 2011, 02:39:38 PM
Ich hätte auch Interesse an der MOD. Der Downloadlink wird auf der Seite auch nach dem Registrieren/Einloggen nicht mehr angezeigt.
Title: Re: [MOD] Favorites Counter // How many user added this picture to their lightbox
Post by: wallward on May 17, 2012, 12:05:17 AM
download link not work, please upload in from upload center
Title: Re: [MOD] Favorites Counter // How many user added this picture to their lightbox
Post by: pjotrek on September 26, 2012, 03:22:12 PM
Can anyone send me the code of modification becouse download link is not working.....
Title: Re: [MOD] Favorites Counter // How many user added this picture to their lightbox
Post by: Rembrandt on September 27, 2012, 07:07:13 AM
Hi
Can anyone send me the code of modification becouse download link is not working.....
http://www.4homepages.de/forum/index.php?topic=12182.msg127963#msg127963

mfg Andi