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 - martrix

Pages: 1 2 [3] 4 5 6 7 ... 38
31
Mods & Plugins (Releases & Support) / Re: Country Flag in Comment?
« on: June 18, 2006, 11:31:39 AM »
Wonderful! Thanks Mawenzi   :D

32
Mods & Plugins (Releases & Support) / Re: [MOD] Ban v1.7
« on: June 17, 2006, 10:26:59 AM »
Hi,

just a minor tweak fo FF users:

in ban.php find:

Code: [Select]
          $username = "<img src=\"".ROOT_PATH."flags/".strtolower($cid).".gif"."\" alt=\"".(($cid != "lan") ? $gi->GEOIP_COUNTRY_NAMES[$gi->GEOIP_COUNTRY_CODE_TO_NUMBER[$cid]] : "Unknown or LAN")."\" border=0> ".$username;
replace with:
Code: [Select]
          $username = "<img src=\"".ROOT_PATH."flags/".strtolower($cid).".gif"."\" alt=\"".(($cid != "lan") ? $gi->GEOIP_COUNTRY_NAMES[$gi->GEOIP_COUNTRY_CODE_TO_NUMBER[$cid]] : "Unknown or LAN")."\" title=\"".(($cid != "lan") ? $gi->GEOIP_COUNTRY_NAMES[$gi->GEOIP_COUNTRY_CODE_TO_NUMBER[$cid]] : "Unknown or LAN")."\" border=0> ".$username;
find:
Code: [Select]
          echo "<td><img src=\"".ROOT_PATH."flags/".strtolower($cid).".gif"."\" alt=\"".(($cid != "lan") ? $gi->GEOIP_COUNTRY_NAMES[$gi->GEOIP_COUNTRY_CODE_TO_NUMBER[$cid]] : "Unknown or LAN")."\" border=0> ".$lang['userlevel_guest']."</td>\n";
and replace it with:

Code: [Select]
          echo "<td><img src=\"".ROOT_PATH."flags/".strtolower($cid).".gif"."\" alt=\"".(($cid != "lan") ? $gi->GEOIP_COUNTRY_NAMES[$gi->GEOIP_COUNTRY_CODE_TO_NUMBER[$cid]] : "Unknown or LAN")."\" title=\"".(($cid != "lan") ? $gi->GEOIP_COUNTRY_NAMES[$gi->GEOIP_COUNTRY_CODE_TO_NUMBER[$cid]] : "Unknown or LAN")."\" border=0> ".$lang['userlevel_guest']."</td>\n";

Now also FF users will see a tooltip-text over the flag ;)

33
You are very welcome  8)

34
Feedback & Suggestions / Re: Cool Way to Hide Your image links....
« on: June 17, 2006, 12:43:05 AM »
You can still:
1) CTRL+U - show the source of the page and there is the image-path listed
2) save the page and track the path there...
and there are of course a few more ways to "go around" your hack.
The only thing your hack causes is an annoying behavior of your gallery - like mawenzi already wrote...
If you really want to "protect" your images, try to search through the forum for "pic security" and I guess you'll find some quite interesting stuff  :wink:

35
That's an easy task. I just refreshed the original posting.

Re-do Step 1.1 and then do step 3

36
Please accept my apologize... for some reason I forgot to write another step.

now the added snippet {user_images_link} shoud show up on the details page with the correct link...

37
That would make sense if you allow a direct upload of images to your page without administrator-approval...
and
if you want the User to upload just one image and not more - because if I'd be redirected to details.php after an upload
I'd have to click twice to upload another image... - first back to the category and the second to the upload form...
The better redirect is (my opinion) back to the upload form, so the User might upload the next image...

38
Mods & Plugins (Releases & Support) / Re: [MOD] Ban v1.7
« on: June 16, 2006, 11:01:07 AM »
Yep, paging would be nice :) and easier than going to PHPMyAdmin to see all the logs :)

39
Discussion & Troubleshooting / Re: Spam Robots on the World
« on: June 15, 2006, 02:43:48 PM »
Gäste haben keinen Zutrit auf die Bilddetails.
Gäste können durch Kategorien gehen und Thumbnails sehen.
Searchbots haben Zutrit auf Bilddetails, aber natürlich ohne Formulare und nur die Thumbnail wird angezeigt
Wenn du schon mal beim blockieren bist, die schlimmsten "Angriffe" kamen von diesen IP Subnetzen:

85.255.112-127.*
(diese IPs spezialisieren sich auf den Versuch durch diese Loch zu kommen)
195.225.176-179.*
209.8-9.*.*
206.161.*.*
201.50.*.*
(diese und *.advancedhosters.com spezialisieren sich wiederum auf das Registrieren von neuen Benutzern, die dann ein Kommentar pro Registration posten. Wie das dann aussieht kannst du dir hier ansehen.)

dann kommen noch viele Versuche von einer einzelnen IP, die wiederum nur guestbook.php-spezialist ist:
66.96.209.5

Noch einige andere habe ich bannen müssen, aber von denen oben kommen jeden Tag so 100-200 Spam-Versuche, trotz aller Vorkehrungen, die das Posten von Spam unmöglich gemacht haben...
Die IP-ranges kannst du so bannen, wie ich sie aufgeschrieben habe - falls du mit diesen Adressen auch "in Kontakt" gekommen bist...

40
Mods & Plugins (Releases & Support) / Re: [MOD] Ban v1.7
« on: June 15, 2006, 02:31:08 PM »
just block
217.*.*.*
and
220.*.*.*
and both IP-ranges will be blocked

41
Discussion & Troubleshooting / Re: Spam Robots on the World
« on: June 15, 2006, 12:00:00 PM »
Ich habe genau die gleichen Erfahrungen gemacht...
als host kannst du *.advancedhosters.com blocken
- von dort kamen nur Spam-Versuche...
Und was IP's angeht - ich habe anhand IP whois immer
das ganye ISP-Subnetz geblockt und siehe da:
die Spammer benutzen alle IP Adressen des
jeweiligen Subnetzes abwechselnd...
Dabei kommen Gäste bei mir nicht einaml sehr weit...

42
That looks like if I did forget something  :wink:
Well, in that case I have to try it again in the evening, when I'll be able to test it :)

Does anything show up after placing {user_images_link}?

43
I bet its because of "treat search bots as users" mod...:?

No, not really - bots should not have access to any forms (ecards, comments, upload etc.) on my page...
And as far as I know the "spammers" are visiting my site as guests until the point when they register themselves as a new user...

44
I don't know if it will work as I can't test it (no acces to the source files),
I don't even know if this would be the right way how to do that,
but try this:

Step 1.1
open includes/functions.php
find
Code: [Select]
    $user_name_link = "<a href=\"".$site_sess->url($user_profile_link)."\">".$user_name."</a>";
insert below:
Code: [Select]
    $user_images_link = "<a href=\"search.php?search_user=".$user_name."\">".$lang['pictures']."</a>";
Step 1.2
find
Code: [Select]
$user_name_link = $user_name;insert below
Code: [Select]
$user_images_link = $user_name;
Step 1.3
find
Code: [Select]
"user_name_link" => $user_name_link,insert below
Code: [Select]
"user_images_link" => $user_images_link,
Step 2

open templates/yourtemplate/details.html and insert {user_images_link} where you want to show the user name linked with the search result for all "image owners" uploaded pictures...

Step 3

open lang/yourlang/main.php
and at the end just before ?> add
Code: [Select]
$lang['pictures'] = "Pictures";

45
Das kannst du leider nicht "global" festlegen.

Geh mal alle template-dateien durch und editiere diese so (z.B. width="" bei den Tabellen), damit die Breite der Seiten gleich ist...

Pages: 1 2 [3] 4 5 6 7 ... 38