|
|
| Author |
Message |
wonfineday
New User
Joined: 07 Aug 2009
Posts: 8
|
Posted: August 7th 2009, 12:12 pm Post subject: How to create a MOD that adds btn ala social bookmarking |
|
|
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 |
|
 |
lumpy burgertushie
Dedicated User

Joined: 05 Apr 2008
Posts: 589
|
Posted: August 7th 2009, 1:19 pm Post subject: |
|
|
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 |
|
 |
wonfineday
New User
Joined: 07 Aug 2009
Posts: 8
|
Posted: August 7th 2009, 1:28 pm Post subject: |
|
|
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 |
|
 |
Patrick
Admin/Webmaster

Joined: 11 May 2001
Posts: 17279
Location: Harbinger, NC, U.S.A.
|
|
| Back to top |
|
 |
wonfineday
New User
Joined: 07 Aug 2009
Posts: 8
|
Posted: August 13th 2009, 5:13 pm Post subject: |
|
|
| Yes indeed I am - thanks for checking. |
|
| Back to top |
|
 |
Patrick
Admin/Webmaster

Joined: 11 May 2001
Posts: 17279
Location: Harbinger, NC, U.S.A.
|
Posted: August 13th 2009, 8:37 pm Post subject: |
|
|
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 |
|
 |
wonfineday
New User
Joined: 07 Aug 2009
Posts: 8
|
Posted: August 14th 2009, 3:48 pm Post subject: 1-click install to get Highlight button on every post |
|
|
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 |
|
 |
Patrick
Admin/Webmaster

Joined: 11 May 2001
Posts: 17279
Location: Harbinger, NC, U.S.A.
|
|
| Back to top |
|
 |
|