Solved Getting $uuds into widget

irateAustin

Licensed
Licensed
User Upgrade Duration
Joined
Aug 30, 2024
Messages
5
Reaction score
2
I just added your User Upgrade Duration to my site. I have a sidebar template that allows for users to see/upgrade upgrades that pertain that certain forums. I was hoping this would apply to that as well. Judging by your template mods I can see I'm missing the $uuds variable.

I'm fairly new to XF coding within XF, can you tell me how to get the needed $uuds variable into my template?

So I assume I need to call one of your functions to get that?
 
Hello,

Unfortunately, it's not possible to retrieve this variable directly from the template. You need to create a widget that uses PHP. I haven't created a repository that allows you to retrieve the value simply.

Regards, CRUEl-MODZ
 
Dang, was afraid you’d say something like that. I’m going to have to uninstall it if I can’t get this to work. PM me if you’re interested in doing some quick custom work.
 
Hello,

Here is an addon where you will have a widget with variables:
  • available
  • purchased
  • profiles
  • uuds
The html content will be in the template : xs_uudw_widget

If you have any further questions, please do not hesitate to contact us.

Regards, CRUEL-MODZ
 
Back
Top Bottom