phpBBHacks.com - How to create a MOD that adds btn ala social bookmarking
Talk martial arts at KarateForums.com
StatsForums Home   RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in
FAQFAQ   SearchSearch   MemberlistMemberlist   TutorialsTutorials   ContactContact Us
Username:    Password:
Remember Me?    
   I Lost My Password!
Bookmark and Share
Post new topic   Reply to topic    phpBBHacks.com Support Forums Forum Index -> phpBB 2 Hack Requests and Development
 See a User Guidelines violation? Please contact us.
Author Message

wonfineday
New User

Joined: 07 Aug 2009
Posts: 8

PostPosted: August 7th 2009, 12:12 pm    Post subject: How to create a MOD that adds btn ala social bookmarking Reply with quote

I'd like to create a simple MOD, that any phpBB admin can take and re-use on his board.

The MOD needs to do something very simple: essentially add a button (similar to the social bookmark buttons) next to each user post. The button will be linking to http://go.rooh.it

Here's a screenshot mockup of what I'd like to accomplish http://roohit.com/images/forumsPen2.gif

I can't imagine a MOD like this could take more than a few minutes to put together... any help or pointers on where to start, sample code, whatever will all be MUCH APPRECIATED.

Thank You.
Back to top
View user's profile Send private message

lumpy burgertushie
Dedicated User

Joined: 05 Apr 2008
Posts: 589

PostPosted: August 7th 2009, 1:19 pm    Post subject: Reply with quote

do you want the user to be able to edit this or turn it on or off etc.

or do you want it to always show on every post for everybody?

and, that example you posted is not a phpbb board.
phpbb does not have the social bookmarks by default.

so, where exactly do you want this new button to appear.
remember that all boards may or may not have the same MODs/hacks/styles etc. that you have.


robert
_________________
here is my sig file.......
Back to top
View user's profile Send private message

wonfineday
New User

Joined: 07 Aug 2009
Posts: 8

PostPosted: August 7th 2009, 1:28 pm    Post subject: Reply with quote

No I'd like for this to be forumAdmin option - just like a Social Bookmark button. Ideally I'd like to see it appear in every post. Sub-optimally I can see it o the page at the footer/header (like the ReTweet or Share buttons on the top-right of this page).

Please try clicking on this link and you will see what my button will do http://go.rooh.it

Thanks.
Back to top
View user's profile Send private message

Patrick
Admin/Webmaster

Joined: 11 May 2001
Posts: 17279
Location: Harbinger, NC, U.S.A.

PostPosted: August 13th 2009, 5:12 pm    Post subject: Reply with quote

Hello wonfineday,

Thanks for posting. You have posted this in both the phpBB 2 and phpBB 3 Hack Requests forums. Are you looking for it for both versions of the software?

Thanks,

Patrick
_________________
Patrick O'Keefe - phpBBHacks.com Administrator - Feedback? Questions? Please Contact Me!
User Guidelines - Featured phpBB - Featured Author - phpBBHacks.com Awards - Supported Sites - About Us
Author, Managing Online Forums - A Practical Guide to Community Management
phpBB 3 Tutorials: Add Hacks | Clear Your Cache | Fix Missing Images | phpBB 3 Permissions Guide
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger MSN Messenger

wonfineday
New User

Joined: 07 Aug 2009
Posts: 8

PostPosted: August 13th 2009, 5:13 pm    Post subject: Reply with quote

Yes indeed I am - thanks for checking.
Back to top
View user's profile Send private message

Patrick
Admin/Webmaster

Joined: 11 May 2001
Posts: 17279
Location: Harbinger, NC, U.S.A.

PostPosted: August 13th 2009, 8:37 pm    Post subject: Reply with quote

Ok, cool, I just wanted to check.

Just thinking about this, you could just document the process of adding an image to the profile area with the post URL in viewtopic_body.tpl. It just needs to link to {postrow.U_MINI_POST}. For example, a delicious bookmark would add a link to:

Code:
http://del.icio.us/post?url={postrow.U_MINI_POST}&title={TOPIC_TITLE}

Does that make sense? So, if you were adding a delicious image, you'd want it to link to that (I think). So, theoretically, you could link it to:

Code:
http://go.rooh.it/{postrow.U_MINI_POST}

Thoughts?

Thanks,

Patrick
_________________
Patrick O'Keefe - phpBBHacks.com Administrator - Feedback? Questions? Please Contact Me!
User Guidelines - Featured phpBB - Featured Author - phpBBHacks.com Awards - Supported Sites - About Us
Author, Managing Online Forums - A Practical Guide to Community Management
phpBB 3 Tutorials: Add Hacks | Clear Your Cache | Fix Missing Images | phpBB 3 Permissions Guide
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger MSN Messenger

wonfineday
New User

Joined: 07 Aug 2009
Posts: 8

PostPosted: August 14th 2009, 3:48 pm    Post subject: 1-click install to get Highlight button on every post Reply with quote

Patrick thanks for your response, I will try what you suggested HOWEVER this doesn't work for newbie Forum Admins.

What we need is a 1-click install. Y'know the kind that any Forum Admin can click and it will go do it's thing (which is really just adding this code in the viewtopic.html). It needs to be as simple as that.

My application is a highlighter. So Forum user's can easily highlights parts of the web-page without having to leave the page they are on, no signup, no installation. just plain old brain-dead

Just like every post has the "profile" and "pm" buttons, and your postings have has the "aim", "email", "www", "yim", "msnm", and "icq" buttons I'd like for the Forum Admin to be able to have a "highlight" button for every user, every post!

Makes sense?

Click this link to highlight this posting: http://go.roohit.com


<a id="roohitBtn" href="http://go.rooh.it" title="Highlight It"><img src="http://roohit.com/images/btns/hlThisPage.png" alt="Highlight It" style="border:none;"></img></a><script type="text/javascript" src="http://roohit.com/site/btn.js"></script>
Back to top
View user's profile Send private message

Patrick
Admin/Webmaster

Joined: 11 May 2001
Posts: 17279
Location: Harbinger, NC, U.S.A.

PostPosted: August 15th 2009, 12:13 pm    Post subject: Reply with quote

Hello wonfineday,

I understand what you mean, but what I said in the phpBB 3 thread would apply equally with phpBB 2.

Thanks,

Patrick
_________________
Patrick O'Keefe - phpBBHacks.com Administrator - Feedback? Questions? Please Contact Me!
User Guidelines - Featured phpBB - Featured Author - phpBBHacks.com Awards - Supported Sites - About Us
Author, Managing Online Forums - A Practical Guide to Community Management
phpBB 3 Tutorials: Add Hacks | Clear Your Cache | Fix Missing Images | phpBB 3 Permissions Guide
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger MSN Messenger
Display posts from previous:   
Post new topic   Reply to topic    phpBBHacks.com Support Forums Forum Index -> phpBB 2 Hack Requests and Development All times are GMT - 6 Hours
Page 1 of 1
Jump to:  
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



Links: Big Message Boards - Free JavaScript - phpBB2 - phpbb styles - Suporte phpBB - phpBB Česky - phpBB Turkiye - phpBBArabia.com - phpBB-fr.com - Romanian phpBB online community - phpBB-TW.net - phpBBservice.nl - phpBB Brasil - phpBB Portugal - phpBBpersian.com

Network: iFroggy Hosting - PhotoshopForums.com - Managing Online Forums - ManagingCommunities.com - CommunityAdmins.com - KarateForums.com - Bad Boy Blog - SodaRatings.com - Patrick O'Keefe

< Advertising - Contact Us - Disclosure Policy - Staff - User Guidelines >

Copyright © 2001-2012. iFroggy Network, phpBBHacks.com. All Rights Reserved. Privacy Policy. We Support phpBBHacks.com (of course!).
Powered by phpBB © phpBB Group. phpBB SEO. We are in no way affiliated with the phpBB Group. phpBB is copyright to the phpBB Group.