Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> RavenNuke(tm) v2.5x
Author Message
spasticdonkey
RavenNuke(tm) Development Team



Joined: Dec 02, 2006
Posts: 1693
Location: Texas, USA

PostPosted: Mon Jul 23, 2012 9:35 pm Reply with quote

A quick and simple modification for RavenNuke(tm) v2.5; which adds an additional layer of protection against unwanted Profile and Signature Spam links. New users can still enter their website URL and Signatures, but they will not display to visitors (or search engines) until the user has 5 or more forum posts. Since most spammers won't take the time to write 5 relevant posts, it works as a preventative measure; requiring too much work for the profile spammer to make it worth their time. This also allows site owners to still give "link juice" to respected members while casting the unwanted spammers aside.

Image

Official Google Webmaster Central Blog wrote:
Spammers are also using spam profiles as yet another avenue to generate webspam on otherwise good domains. They scour the web for opportunities to get their links, redirects, and malware to users. They use your site because it's no cost to them and they hope to piggyback off your good reputation.


Obviously, this is only intended for sites with an active Forums module, so this is not the perfect solution for every site. If you do not use the Forums module, note that there there are options for controlling which fields are viewable in Your Account; in the User ACP. While these edits are specifically done for RavenNuke(tm) v2.5; with the exception of the Your Account edit, they would probably work for other phpbb-to-nuke installations, although may require tweaking and are untested.

See the full article @
web-cms-designs.com/cms-17-profile-and-signature-spam-control-for-ravennuke.html

Download @
web-cms-designs.com/download-file-5.html
 
View user's profile Send private message Visit poster's website
killing-hours
RavenNuke(tm) Development Team



Joined: Oct 01, 2010
Posts: 438
Location: Houston, Tx

PostPosted: Tue Jul 24, 2012 5:11 pm Reply with quote

Nice freaking theme you've got there!! I really like that and the fonts / colors.

_________________
Money is the measurement of time - Me
"You can all go to hell…I’m going to Texas" -Davy Crockett 
View user's profile Send private message
hicuxunicorniobestbuildpc
The Mouse Is Extension Of Arm



Joined: Aug 13, 2009
Posts: 1014
Location: Netherland

PostPosted: Tue Jul 24, 2012 7:17 pm Reply with quote

First of all, thanks for the nice presentation. Amazing! I just installed it following the steps and the mod is working properly but I got several warning from my Tidy Tool which is not validated after doing this. I will try to correct them but just to let you know about details.

Edit: I found out the problem was from

profile_view_body.tpl

I had to change
Code:
</div></div></td></tr></table>');


Replace with
Code:
<\/div><\/div><\/td><\/tr><\/table>');


Warning: line 683 column 239 - Warning: '<' + '/' + letter not allowed here

I still need to find more Shocked
 
View user's profile Send private message Visit poster's website
spasticdonkey







PostPosted: Tue Jul 24, 2012 9:03 pm Reply with quote

unicornio, you are right there is some old javascript in that file (modules/Forums/templates/subSilver/profile_view_body.tpl) which probably isn't needed anymore... but I'm not sure what exactly it's original purpose was. Note that this file is not part of the mod, as no TPL files have been changed. While what you did was fine it makes the code a little hard to read. I would usually wrap the script in cdata tags if you need to use html inside of inline javascript, as it will keep the browser from throwing the error in the first place

Code:
<script type="text/javascript"> 

   //<![CDATA[   
   // script start
   
   // script end
   //]]>
</script>


I will also add that you may get some warnings on the Your Account page depending on the signature; if you are using Advanced BBCode Box, as the $signature is wrapped in <strong></strong> and some invalid elements could potentially be nested there. It's an error that most browsers should tolerate and wasn't worth me tinkering with Your Account for..


killing-hours, thanks! I went a little overboard with the fonts and it's not efficiently coded from an html/css perspective yet, but once I have a mobile theme in place; I'll feel a little better about the excessive page weight.. Had some fun with a responsive layout for it the other night, for those with displays greater than 1399px try resizing the window to see it shift from a 960px to 1200px layout. Still tinkering and haven't tried other layouts, but it's not too hard with a CSS based theme.. It gets more difficult when you try to go narrower though, d*** tables!!
 
Display posts from previous:       
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> RavenNuke(tm) v2.5x

View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Powered by phpBB © 2001-2007 phpBB Group
All times are GMT - 6 Hours
 
Forums ©