Embedding bookmarking scripts

The 2.0.x discussion forum has been locked; this will remain read-only. The 3.0.x discussion forum has been renamed phpBB Discussion.
Locked
User avatar
harishkumar09
Registered User
Posts: 163
Joined: Mon Feb 06, 2006 5:37 pm
Location: Bengaluru
Contact:

Embedding bookmarking scripts

Post by harishkumar09 »

Nowadays , we find a lot of bookmarking scripts available on the NET. Using this a person can easily add an URL to his bookmarking and/or social networking site by clicking on an image which says "bookmark" or "addthis". I would like to embed on such at the start of each thread. How do I go about doing it ?

Also what are the rules for embedding javascript inside php script ? Do we just simply added it there like normal html script ?
Love & Regards,
Harish Kumar.
User avatar
ric323
Former Team Member
Posts: 22910
Joined: Tue Feb 06, 2007 12:33 am
Location: Melbourne, Australia
Name: Ric
Contact:

Re: Embedding bookmarking scripts

Post by ric323 »

You could just tell your users to right click on the little box in the top left corner of each post.
( Image ) and bookmark that.

If you want to output ANYTHING on your pages (including javascript), it has to be added to the appropriate TPL file, not the PHP file.

This would normally be classed as a "MOD Request", but no new MOD Requests are being accepted for phpBB2 now the "end of life" has been announced. Are you considering moving to phpBB3? If yes, you should do that first.
The Knowledge Base contains solutions to many common problems!
How to fix "Doesn't have a default value" and "Incorrect string value: xxx for column 'post_text' " errors.
How to do a clean re-install of the latest phpBB3 version.
Problems with permissions? Read phpBB3 Permissions
User avatar
Jim_UK
Former Team Member
Posts: 18480
Joined: Tue Oct 12, 2004 5:36 pm
Location: Darwen N.West UK

Re: Embedding bookmarking scripts

Post by Jim_UK »

Perhaps you could replace that small image with one that says "Bookmark" or something a little more obvious.

Jim
The truth is out there.
Unfortunately they will not let you anywhere near it!
User avatar
harishkumar09
Registered User
Posts: 163
Joined: Mon Feb 06, 2006 5:37 pm
Location: Bengaluru
Contact:

Re: Embedding bookmarking scripts

Post by harishkumar09 »

ric323 wrote:You could just tell your users to right click on the little box in the top left corner of each post.
( Image ) and bookmark that.

If you want to output ANYTHING on your pages (including javascript), it has to be added to the appropriate TPL file, not the PHP file.

This would normally be classed as a "MOD Request", but no new MOD Requests are being accepted for phpBB2 now the "end of life" has been announced. Are you considering moving to phpBB3? If yes, you should do that first.
Its pointless to upgrade if Joe Belmatti is not making his anti-spamword MOD available to phpBB3. I dont want to spend the whole day deleting spam posts. I wonder how without that MOD phpbb3 users are managing ? Morever for thelogical and children's forums there cannot be any laxity for even a minute, and I dont have resources to get human moderators delete spam posts 24 hours a day.

I think people are downloading phpBB3 as it is hip to have open source software and you are perceived as doing a service to the world by fighting evil Bill Gates. I doubt anybody who is serious can use it without Joe Belmatti's MOD because only that MOD makes the forum USABLE , if you can understand what I mean.
Love & Regards,
Harish Kumar.
User avatar
Jim_UK
Former Team Member
Posts: 18480
Joined: Tue Oct 12, 2004 5:36 pm
Location: Darwen N.West UK

Re: Embedding bookmarking scripts

Post by Jim_UK »

harishkumar09 wrote:I doubt anybody who is serious can use it without Joe Belmatti's MOD because only that MOD makes the forum USABLE , if you can understand what I mean.
Nope I don't understand. To the best of my knowledge the bots have not managed to get through the phpBB3 Visual Confirmation and the addition of an extra compulsory field such as used by the RAC mod would stop them anyway.

Jim
The truth is out there.
Unfortunately they will not let you anywhere near it!
User avatar
ric323
Former Team Member
Posts: 22910
Joined: Tue Feb 06, 2007 12:33 am
Location: Melbourne, Australia
Name: Ric
Contact:

Re: Embedding bookmarking scripts

Post by ric323 »

harishkumar09 wrote:...
Its pointless to upgrade if Joe Belmatti is not making his anti-spamword MOD available to phpBB3. I dont want to spend the whole day deleting spam posts. I wonder how without that MOD phpbb3 users are managing ? Morever for thelogical and children's forums there cannot be any laxity for even a minute, and I dont have resources to get human moderators delete spam posts 24 hours a day.

I think people are downloading phpBB3 as it is hip to have open source software and you are perceived as doing a service to the world by fighting evil Bill Gates. I doubt anybody who is serious can use it without Joe Belmatti's MOD because only that MOD makes the forum USABLE , if you can understand what I mean.
You seem unaware that two simpler MODs, the RAC MOD, and the Security Question MOD, have been totally successful at keeping SPAMbots out of phpBB2 boards for a year and a half now.

As Jim stated, there haven't been any reports of the automated SPAMbots breaking the visual CAPTCHA in phpBB3 yet, so you are making a huge assumption thinking they are having problems just because they don't have the MOD you are currently using.
The Knowledge Base contains solutions to many common problems!
How to fix "Doesn't have a default value" and "Incorrect string value: xxx for column 'post_text' " errors.
How to do a clean re-install of the latest phpBB3 version.
Problems with permissions? Read phpBB3 Permissions
User avatar
harishkumar09
Registered User
Posts: 163
Joined: Mon Feb 06, 2006 5:37 pm
Location: Bengaluru
Contact:

Re: Embedding bookmarking scripts

Post by harishkumar09 »

Thanks Jim_uk and ric323, I already use the RAC Mod and the Security question MOD and they have done an excellent job keeping the spam bots off my site.But I am not talking about spambots. My forums are popular enough that there are human spammers who think its worth their while to register and post about viagra, free sex, and pornogrpahy and stuff like that and sometimes plain nonsense, to get traffic . Now I wouldnt like to have that nonsense in my forum as my users would not like it. My visitors include children and I cant have that kind of stuff in my religious forums as well. And we cant be online 24 hours of the day to delete stuff as when I sleep here american children and indian americans and possibly American-Americans who are religiously inclined also access the site. I am not able to get enough unpaid mods to do a 24 hour vigil. Also I think having people around the clock to delete spammy stuff sounds inelegant when it can be automated. Joe Belmattis mod does this excellently and I have been off one of my popular forums for a month and no human spammer could post his nonsense. Prior to JM MOD there would be a 100 spam posts to delete after such long absense. Even visitors of a soft-core site vomit when they see hard-core pornography. So you can understand how others will feel.

So you see its all about the human spammers who take the time to register and spam.
Love & Regards,
Harish Kumar.
User avatar
ric323
Former Team Member
Posts: 22910
Joined: Tue Feb 06, 2007 12:33 am
Location: Melbourne, Australia
Name: Ric
Contact:

Re: Embedding bookmarking scripts

Post by ric323 »

I guess you're talking about this MOD: http://www.phpbb.com/community/viewtopic.php?t=354376

If these are really humans spamming your board, I don't see why they wouldn't quickly find words you are not blocking. May we have the address of your board please, to see it in action?


I assume you're not talking about either of the boards in your signature.

indiamystica is running InvisionFree
dravidanadu does have an extra question on the register page, but it is not the RAC MOD or the Security Question MOD
(and it would be silly to run both at the same time anyway.)
The Knowledge Base contains solutions to many common problems!
How to fix "Doesn't have a default value" and "Incorrect string value: xxx for column 'post_text' " errors.
How to do a clean re-install of the latest phpBB3 version.
Problems with permissions? Read phpBB3 Permissions
User avatar
ChrisRLG
Former Team Member
Posts: 3420
Joined: Wed Nov 24, 2004 3:18 pm
Location: Essex, UK
Contact:

Re: Embedding bookmarking scripts

Post by ChrisRLG »

I would take the opposite approach. It would be more time intensive to start with, but does pay back in the long run.

The phpBB3 software records all changes to an account - such as email changes - by IP. So you can get the original activation email account, unlike v2.

Take the time to report those who post such stuff to thier hosting/ISP company - get them disconnected.

You only have to take the time to do this for a few months and you will find yourself on a 'do not post list' which these people use.

Every spammer to hit my forums had such emails sent - all of a sudden we found them no longer coming to our forums. I found out later all my domains are on a 'do not touch' list which those spammers use.

What we did was make it too expensive for them to post, as every post had the email accounts used and the IP used reported, losing them an email account and a connection (even if it was an infected machine being used as a proxy) each time.
phpBB: The All Important Rules - Bertie Bear 3.0 - No support via PM system - use the forums please.
phpBB v2: Retirement (1/1/2009) : phpBB v3: Read Me Topic - Custom BBCodes - Support Template
Matthew 7:7"Ask and it will be given to you; seek and you will find; knock and a door will be opened to you."
My Links: MS MVP (Consumer Security) - Malware Removal:University - Own Forum: Custom BBCode testing
Locked

Return to “2.0.x Discussion”