You are not logged in. Please login or register.
Active topics Unanswered topics
Search options (Page 16 of 71)
i found by adding this to the register.php right after the
require PUN_ROOT.'include/common.php';
this has slowed down spam bots and spammers on my sites.
/***************************
START SPAM PROTECTION
***************************/
// Address of the blocklist server
$checkspam['blocklist'] = 'sbl.spamhaus.org';
// Build the url to check (reverse DNS query). If you want to test if it works on
// your server, replace the "get_remote_address()" part with the following: '127.0.0.2'
$checkspam['Reverse DNS'] = implode( '.', array_reverse( explode( '.', get_remote_address() ) ) ) . '.' . $checkspam['blocklist'];
// Do the actual lookup. If the users IP is listed in the blocklist, we will be given just an IP back from the queried server.
// If the user is *not* listed as a spammer, the result we get back from the server will be the same string as we sent.
if( $checkspam['Reverse DNS'] != gethostbyname($checkspam['Reverse DNS']) ) {
message('Unfortunately, it would appear that your current IP address is listed in one of the anti-spam databases we queried.
Because of this, you will not be able to register a new account at this point in time. If you believe this to
be a mistake, we urge you to read the FAQ over at <a href="http://www.spamhaus.org/faq/index.lasso">The Spamhaus Project</a>
for more details, including actions you can take to resolve this issue.',true);
}
/****************************
END OF SPAM PROTECTION
****************************/
MattF wrote:Jérémie wrote:You could do it server side (check, and output the appropriate src for the img tag in the html page displayed), but it will slow things down, probably a lot.
Aye, that's one thing I was wanting to completely avoid. Especially due to the fact that this is one of those purely cosmetic with no real need type scenarios. I'd like to get it working, but wouldn't introduce load specifically for it.
If not, CSS is probably the fastest way to go (use a background image behind the real one).
Just been trying that, and not for the life of me can I figure out how to do it, (although my CSS skills aren't exactly legendary). This is what I've tried so far. (Can class= be used for img tags, btw)?
img.favicon {
background-image: url(./images/icons/no_icon.png);
height: 16px;
color: #ffffff;
}
<img class="favicon" src="'.$icon_url.'/favicon.ico" alt=""/>
Am I barking up the wrong tree with that? It just doesn't seem to want to work. If I put text in the alt tag, that displays white as set, but the background image won't display if there is no favicon.ico.
Cheers.
mattf, is the
<img class="favicon" src="'.$icon_url.'/favicon.ico" alt=""/>
inside a <?php?
Q
a program called winmerge is open source is a good way also of keeping track of changes in a file.
http://winmerge.org/
Q
Mattf, seem seem to help a little! it has cut down on the bots and such.
i use the mod that you did for me in every punbb that i do.
I feel we need stronger mods like this to fight against spam.
Heck I would like to see this for even viewing the site .. trying to totally block spammers and bots all together.
Thanks for doing the mod.....
Q
do you have a style.css and a style_cs.css ?
one is inside the style folder and the other one is inside the import
folder?
style/
style/imports/
i know that the above style is from ur site but a actually link would be better to help with me . so i can help U fix the issue.
Q
do u have alink so that i can look at ur css see what is the issue?
Q
another thing, let use add links to it?
member gallery like koos image upload ..
list can go on and on...hahaha
Q
quick links to edit profile fields?
pm link. etc.
Q
yeehawjared wrote:I'm actually not using WordPress... 100% hand coded CMS in PHP. I hand coded the upload as well, using uber-upload.
http://uber-uploader.sourceforge.net/
I wrote some linux shell scripts that convert the incoming videos to FLV using ffmpeg. Feel free to shoot me any php questions you may have, but I won't be able to help with WP, as I've never used it.
this is not wordpress!!
Q
talk to stevebullen!
send him a private email message
u can find him there.!
http://punbb.org/forums/viewtopic.php?p … 96#p104796
Q
adjust the height px that you set for the banner.
I normally use the #brdtitle to add the header.png to.
some use the #brdheader...
there about 3 ways you can do it..
Q
well those buttons effects are apart of safari browser..
Q
I guess that im use to punbb style of clean looking templates! it is a good site.. but i feel people could get lost in the forum..
i always go by (K.I.S.S.) keep it simple stupid! for none pc users..
Q
i need help adding this code into my db!
what am i doing wrong?
im trying to add this to the pun_config db
o_additional_sidelinks with the same value as the o_additional_navlinks
conf_name varchar(255)
conf_value text
INSERT INTO `pun_config` (
`conf_name` varchar(255) collate latin1_german2_ci NOT NULL default '',
`conf_value` text collate latin1_german2_ci,
PRIMARY KEY (`conf_name`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_german2_ci;
--
-- Dumping data for table `pun_config`
--
INSERT INTO `pun_config` VALUES ('o_additional_sidelinks', '');
ummm... if u say so... looks to junked up!
Q
what i do is simply drag and drop it into dreamweaver version 8 and above will open it.
or right click on the tpl when it ask to open it.. u change the default program to DW.
that should fix that issue..
or just use notepad
Q
i use dreamweaver to edit with.
go to http://punres.org and look at the styles there.
play around editing some of the styles. that is a good start.
main.tpl u can open with dreamweaver.
also check out the wiki at punres lots of useful tips...
Q
tux, thqank bingiman for the style... it sorta grows on you huh?
to solve all the issue with the store mod...
the store mod has been talked about by me and elbekko and is decided to be completely rewrote from line 1.
it will not use any of the current store files.
thanks everyone for joining PunLancer
Q
thanks. i got it fixed about midnight last night. i just opened the contact.php u designed and copied the code since contact was vaild...
your email also fixed an issue that i had...
thanks..
Q
Mattf can u help me validate the register.php
im working on the new PunL version now.
when i try to valdate the register.php on localhost i get these errors.
i tried to treat the <img src="ran.php as a image and add the alt='' />
1. Error Line 101, Column 33: an attribute value specification must be an attribute value literal unless SHORTTAG YES is specified.
<img src=ran.php alt="" /><br />
2. Error Line 101, Column 33: XML Parsing Error: AttValue: " or ' expected.
<img src=ran.php alt="" /><br />
3. Error Line 101, Column 33: XML Parsing Error: attributes construct error.
<img src=ran.php alt="" /><br />
4. Error Line 101, Column 33: XML Parsing Error: Couldn't find end of Start Tag img line 101.
<img src=ran.php alt="" /><br />
background-color: {#390037}
that is the correct css code for background.
Q
Scripter, this is what i did to my site.
this is yours
<li id="navindex"><a href="index.php">Index</a></li>
this is mine
i just took the id=junk out!
i dont plan on making a css tag for it.. so it is gone... i remove all the nav stuff from the functions.php page.
<li><a href="index.php">Index</a></li>
Q
I was actually thinking about that.... Thanks I fixed it... it really looks better now with out the underline...
Q
Right now I'm playing around with a personal site.
http://256studio.com
Yes that is a custom gallery script not pbb_gallery!
Big thanks to !
Steve-O for helping with the W3C errors.
Oh, and i made a custom style just for the site....
Positive comments are welcome to add or take away!
but options are like butt wholes everyone got one...
Q
Posts found: 376 to 400 of 1,758