|
What Variable Can I Use For ThankYouLike - Printable Version +- MyBB Group (https://mybb.group) +-- Forum: Beside You (https://mybb.group/Forum-Beside-You) +--- Forum: Troubleshoot (https://mybb.group/Forum-Troubleshoot) +--- Thread: What Variable Can I Use For ThankYouLike (/Thread-What-Variable-Can-I-Use-For-ThankYouLike) |
What Variable Can I Use For ThankYouLike - 1Legend - 06-07-2021 What Variable Can I Use For ThankYouLike To Show The Amount Of Likes On The First Post Of A thread In the forumdisplay_thread template? RE: What Variable Can I Use For ThankYouLike - Laird - 06-07-2021 {$thread['tyls']} or simply toggle on the plugin's "Enable thanks/likes count for first posts on forum pages?" setting and rely on the preexisting formatted {$tyl_forumdisplay_thread_var} variable in that template.
RE: What Variable Can I Use For ThankYouLike - 1Legend - 06-07-2021 Can I get a list of all available variables and what they do? It wont let me edit, but that worked thanks I would also like to add the number of likes next to the like button, how would I do that? RE: What Variable Can I Use For ThankYouLike - Laird - 06-07-2021 (06-07-2021, 02:07 PM)1Legend Wrote: I would also like to add the number of likes next to the like button, how would I do that? Unintuitive as it is, you could add the {$count} variable to the thankyoulike_button_add template.
RE: What Variable Can I Use For ThankYouLike - 1Legend - 06-07-2021 Oh wow that was simple. Thank you so much! Saved me so much time RE: What Variable Can I Use For ThankYouLike - Laird - 06-07-2021 No worries. Re getting a comprehensive list of variables: that would be quite a task given the complexity of the code, so it's unlikely that anybody is going to provide that to you. It's probably best that you just ask for what you need specifically as and when you know that you need it. RE: What Variable Can I Use For ThankYouLike - 1Legend - 07-07-2021 (06-07-2021, 03:58 PM)Laird Wrote: No worries. Re getting a comprehensive list of variables: that would be quite a task given the complexity of the code, so it's unlikely that anybody is going to provide that to you. It's probably best that you just ask for what you need specifically as and when you know that you need it. The code {$thread['tyls']} was working for the forumdisplay_thread template, but now it is not. Any clue why? RE: What Variable Can I Use For ThankYouLike - Laird - 07-07-2021 (07-07-2021, 03:21 AM)1Legend Wrote: The code {$thread['tyls']} was working for the forumdisplay_thread template, but now it is not. Any clue why? No. I can't see any reason why it wouldn't work. Please re-check your template and its output. If it truly isn't working, then provide details as to what changed. RE: What Variable Can I Use For ThankYouLike - 1Legend - 07-07-2021 (07-07-2021, 03:56 AM)Laird Wrote:(07-07-2021, 03:21 AM)1Legend Wrote: The code {$thread['tyls']} was working for the forumdisplay_thread template, but now it is not. Any clue why? nothing has changed, still doesn't work. here is my forumdisplay_thread template: i replaced my websites domain with mywebsite.com for privacy.
|