1 Attachment(s)
For me #35 is working fine on 4.1.12 .
See how it should more less look like. Attachment 137949 Please check if post #49 will help you: https://vborg.vbsupport.ru/showpost....8&postcount=49 |
Quote:
|
Thanks to everyone who took the time to post their knowledge in this thread. I just got my vB 4.1.12 working with the hacked "Likes" system pretty easily. :)
However, I use this Lightweight style for mobile device users: https://vborg.vbsupport.ru/showthread.php?t=249277 So far, I've added the "Like" button in between the "Edit" and "Reply" on my mobile style, like this: HTML Code:
<vb:if condition="$post['editlink']"><a id="btn" href="{vb:raw post.editlink}">{vb:rawphrase edit}</a></vb:if> |
Code:
Step 2 is to change the following phrases. In Admin CP use Phrase Manager to "translate" these phrases from "Thank You" to "Like(s)": |
Quote:
If you're noy sure where each phrase is use "Search in Phrases" instead. Put the phrase name in the "Search for Text" box, example: post_thanks_already Choose the option: Phrase Variable Name Only click find. Click to edit the found phrase and on that page there is a box for an English translation (or whatever language you use) - Simply put in that box what you want it to say... So change "Thanks" to "Like" Save. Repeat for all phrases listed. |
Loving this modification to the post thanks hack!
Working great. I do have a question for you, if you don't mind pointing me in the right direction? We use a star to like posts up next to the permalink. I'd like to have this button used as a "multi" button. In that when not liked, it's grayed (not yellow). Once you click "like" it changes to yellow. The text "remove like" would also be removed from the thanks box. I've been digging around for a while with this conditional and haven't had any luck. Could you point me in the right direction so I could do the research? Much appreciated! |
Sorry swapping out images would likely involve editing the Ajax JavaScript and that is not something I am familiar with.
|
Quote:
I intend to go about this a different way :) If possible, please review this: PHP Code:
I assume this is what you meant by the ajax function? --------------- Added [DATE]1335397299[/DATE] at [TIME]1335397299[/TIME] --------------- And apologies in advance, no matter what I do, copy/paste doesn't fully translate. |
The only work-around I could think of would be to disable AJAX in the mod completely which I don't think you'd want to do.
|
Quote:
If we come up with a solution I'll be happy to let you know. Maybe someone else out there would be interested. |
All times are GMT. The time now is 12:38 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|