phpBBHacks.com - How to create a MOD that adds btn ala social bookmarking
Community management insight at ManagingCommunities.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 3 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:11 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.roohit.com

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.


Last edited by wonfineday on August 13th 2009, 5:05 pm; edited 1 time in total
Back to top
View user's profile Send private message

Thoul
VIP

Joined: 30 Jul 2002
Posts: 18040
Location: USA

PostPosted: August 9th 2009, 7:17 am    Post subject: Reply with quote

You'll have to edit viewtopic_body.html for it. I would suggest looking up an existing modification that applies a new profile field or something else in the same area. You might be able to use that as a guide to the kind of edits you would need to make.
_________________
Fringes of Algo - Phantasy Star Community
TV Blitz Forums - Television Discussion Community
phpBB Smith: Modifications

70+ Listings @ phpBBHacks.com
Back to top
View user's profile Send private message Visit poster's website

Patrick
Admin/Webmaster

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

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

Anyone have any thoughts on a hack that would do this, that could be used as a base? I don't think the default custom profile fields area will do exactly this, but... could be wrong?

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:07 pm    Post subject: All that I want to do is add an image with a link Reply with quote

This has got to be trivial... I'm just such a phpBB noobie
All that I want to do is add an image with a link.

One of you smart guys/gals must be reading this??
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:41 pm    Post subject: Reply with quote

Sorry, I misunderstood this and wasn't thinking straight. It's not to do with custom profile fields. Similar to with phpBB 2, you just need to include the post link variable in the link. In phpBB 3, I think this might be:

Code:
http://go.roohit.com/{U_VIEW_TOPIC}#p{postrow.POST_ID}

But, that could be wrong. Give it a try, though. I hope that this helps. The edit would then be made in viewtopic_body.html in the template folder in the style the person is using.

I hope that this helps.

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:49 pm    Post subject: 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 (whihc 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

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:10 pm    Post subject: Reply with quote

Hello wonfineday,

Unfortunately, that's not how hacks are written. Even for a hack installer like AutoMod, the instructions themselves will still need to be documented. In this case, they'd be really simple (one change), but they would still need to be documented. Sorry.

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 15th 2009, 12:13 pm    Post subject: Reply with quote

Right - documenting is good, but it should AutoInstall.

Am I missing something here?
Back to top
View user's profile Send private message

lumpy burgertushie
Dedicated User

Joined: 05 Apr 2008
Posts: 589

PostPosted: August 17th 2009, 8:41 pm    Post subject: Reply with quote

yes, you are .

hacks/MODs for phpbb are not just simply one click installs.

someone will have to write up all the code changes etc. into a specific format to be able to be installed with the AUTOMOD installer that is still in beta for phpbb3.

Then, each board owner would have to first install AUTOMOD, then use it to install whatever other MODs they want to use.

phpbb is very easy to use and very easy to customize, but it does assume a certain level of
knowledge about how to do basic website type things.

robert
_________________
here is my sig file.......
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    phpBBHacks.com Support Forums Forum Index -> phpBB 3 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.