context_title
context_text
Topic Summary - Displaying 10 post(s). Click here to show all
Posted by: pyragony54 Posted on: Sep 20th , 2017 at 6:26pm
Perfect, works.
Posted by: Dandello Posted on: Sep 20th , 2017 at 5:04pm
Yeah, that looks a little odd.
In Subs.pm find
if ( $hour >= 12 && $hour < 18 ) {
Add above
$toffs = toffs($date);
my ( undef, undef, $hour, undef, undef, undef, undef, undef, undef ) = gmtime($date + $toffs);
Posted by: pyragony54 Posted on: Sep 20th , 2017 at 4:54pm
18.52 clock (6.52 pm) and good morning Webmaster?
Posted by: pyragony54 Posted on: Sep 20th , 2017 at 5:35am
So it is also good.
Posted by: Dandello Posted on: Sep 20th , 2017 at 3:46am
Unfortunately, hashes don't stay in order and the list is stored as a hash. You can, however, get the list into alphabetical order.
In Sources/IPLookup.pm find
my @iplookup_urls = keys %iplookup;
and replace with
my @iplookup_urls = ( sort {lc $a cmp lc $b} keys %iplookup);
The above will order the list case
in sensitively.
Edited: OR we can save the keys in list order as @iplookups_urls... Let me think on that.
Posted by: pyragony54 Posted on: Sep 20th , 2017 at 3:11am
Dandello wrote on Sep 19
th , 2017 at 7:01pm:
What were you trying to add to the Security Center IP lookup?
Yes, works now, but not in the order as I would like to have it. In settings.pm, however, it is correct.
%iplookup = ('AfriNIC' => 'www.afrinic.net/cgi-bin/whois?searchtext={ip} ;',
'APNIC' => 'wq.apnic.net/apnic-bin/whois.pl?searchtext={ip}',
'ARIN' => 'whois.arin.net/rest/nets;q={ip}?showDetails=true&showARIN=false&ext=netref2',
'LACNIC' => 'lacnic.net/cgi-bin/lacnic/whois?query={ip}',
'NCC' => 'https://apps.db.ripe.net/search/query.html?searchtext={ip} ;',
'StopForumSpam' => 'http://www.stopforumspam.com/ipcheck/{ip} ;',
'CleanTalk' => 'https://cleantalk.org/blacklists/{ip} ;',
'AbuseIPDB' => 'http://www.abuseipdb.com/check/{ip} ;',
'CountryIPBlocks' => 'https://www.countryipblocks.net/search_ip.php?search_ip={ip} ;',
'utrace' => 'http://www.utrace.de/?query={ip} ;',
'IP-Location' => 'http://www.iplocationtools.com/{ip}.html ',
'IP2-Location' => 'http://www.ip2location.com/demo/{ip} ;',
'WhatIsMyIPAdress' => 'http://whatismyipaddress.com/ip/{ip} ;',
); #IPlookup url list
Quote: Lookup 77.22.252.67 auf einem Whois-Server: ARIN AbuseIPDB LACNIC IP2-Location NCC WhatIsMyIPAdress CountryIPBlocks CleanTalk StopForumSpam utrace AfriNIC APNIC IP-Location
WhatIsMyIPAdress should be at the bottom, as in the settings.pm
Posted by: Dandello Posted on: Sep 19th , 2017 at 7:01pm
What were you trying to add to the Security Center IP lookup?
try in Settings_Security.pm
find
$ipset[0] =~ s/[ ]/_/xsm;
$newset .= qq~'$ipset[0]' => '$ipset[1]',\n~;
replace with
if ( $ipset[0] && $ipset[1] ) {
$ipset[0] =~ s/[ ]/_/gxsm;
$newset .= qq~'$ipset[0]' => '$ipset[1]',\n~;
}
I'm guessing an emply line is being passed to that section.
Posted by: pyragony54 Posted on: Sep 19th , 2017 at 5:50pm
I wanted to insert some query modules with IP lookup. This can not be saved. Error message still exists.
Posted by: Dandello Posted on: Sep 19th , 2017 at 12:51pm
When is this error ocurring?
Posted by: pyragony54 Posted on: Sep 19th , 2017 at 11:24am
Security settings can not be saved.
Quote: Ein Fehler ist aufgetreten! Use of uninitialized value in concatenation (.) or string at /var/www/vhosts/yabbtest.de/cgi-bin/yabb2/Admin/Settings_Security.pm line 329.
Forum Jump »
Board Index
» 10 most recent Posts
» 10 most recent Topics
News and Updates
YaBB News
General Category
General Board
Test Zone
- Test Sub
- Test sub 2
Showcase
Archived Development Forums
- http://www.yabb26.yabbforumsoftware.com/
YaBB Development
HTML5 and CSS
SQL - yes, we're heading there
New Features
Documentation
On the Road to 2.7
Lounge
Talk it Up
The Comedy Club
Support
Security Announcements
YaBB 2.6.0 and 2.6.1 Support
Other Places
- http://www.yabbforum.com/
- https://www.facebook.com/YaBBForum/
- http://yabbmain.yabbforumsoftware.com/cgi-bin/community/YaBB.pl
Converting to other software
Mod Spot
Mods Wanted (Old Mods)
Mods Wanted (New Mods)
2.6.1 Mods
2.6.0 Mods
- http://www.xonder.com/cgi-bin/yabb26/YaBB.pl
- http://boardmod.de
- http://www.boardmod.org/cgi-bin/forum/YaBB.pl
- http://boardmod26.yabbforumsoftware.com/cgi-bin/yabb2/YaBB.pl
2.5.2 Mods
2.7.00 Mods
- http://yabbforumsoftware.com/cgi-bin/modlang/modlang.pl
Templates for 2.7
Helps
YaBB Administration
Language Packs (2.6)
- Suomi
- Русский
- Deutsch
Language Packs (2.7)
http://yabbforumsoftware.com/cgi-bin/langfix/complang.pl
Bug Zone
YaBB Bugs
YaBB 2.7 Issues ««