HTML Logo by World Wide Web Consortium (www.w3.org). Click to learn more about our commitment to accessibility and standards.

Moving forward with Composr

ocPortal has been relaunched as Composr CMS, which is now in beta. ocPortal 9 will be superseded by Composr 10.

Head over to compo.sr for our new site, and to our migration roadmap. Existing ocPortal member accounts have been mirrored.


Points/thx button

Login / Search

 [ Join | More ]
 Add topic 
Posted
Rating:
#100223 (In Topic #19675)
Avatar

Fan in action

Hey guys,
             the majority of my forum members have told me that they find the points/thx button to gift points to other people, quite annoying. This is obviously because they have spend most of their time on vbulletin boards where it is literally just a thanks button etc. Is there any addon or change available, or being considered for the future, that would have a separate "gift points" button and a "thanks" button? This may alleviate the frustration of clicking the points/thx button (out of habit) and being sent to the gift points page.

Kind Regards,
Wal
Back to the top
 
Posted
Rating:
#100230
Avatar

Community saint

Well you could feasibly remove the points thanks button from the template and just let them use the the thumbs up as thanks.

To remove the button I think (but have not tested) if you wrap the content in that template with

Code

{+START,IF,{$NEQ,{IMG},points}}
the current template code wrapped here
{+END}


it should work
Back to the top
 
Posted
Item has a rating of 5 (Liked by Walbertross)  
Rating:
#100236
Avatar

Community saint

oops realized I didn't tell you the template name sorry. It is SCREEN_ITEM_BUTTON.tpl
Back to the top
 
Posted
Rating:
#100251
Avatar

Fan in action

thanks for the reply, i havent ventured into changing code yet, im a bit of a novice at it. dont want to destroy my forum lol
Back to the top
 
Posted
Rating:
#100254
Avatar

Community saint

I hear ya. It can be a little intimidating at first but this is really easy to try. What you would do is copy the template in your default themes templates folder to the templates_custom folder then open the copied version in a simple text editor (like notepad on windows) and at the top of the file before everything else  paste this line in

Code

{+START,IF,{$NEQ,{IMG},points}}

and then at the bottom of the file (after everything else) paste this line in

Code

{+END}

Then save the file and clear your caches (website cleanup tools under the tools menu in admin) and you should be good to go. If something messes up just delete the copy of the file you made in in the templates_custom folder.
Back to the top
 
Posted
Rating:
#100265
Avatar

Community saint

Duck said

What you would do is copy the template in your default themes templates folder to the templates_custom folder then open the copied version in a simple text editor (like notepad on windows)
Or just use the inbuilt template editor to make the changes. When you save the changes it will automatically get saved in the templates_custom folder for you. ;)

Do you have a Samsung Galaxy S / Galaxy S II ? If so, why not check out my ScreenFree FM Radio .
Back to the top
 
Posted
Rating:
#100270
Avatar

Community saint

lol I do forget ocPortal has these kinds of tools built in sometimes!
Back to the top
 
1 guests and 0 members have just viewed this: None
Control functions:

Quick reply   Contract

Your name:
Your message: