Register Members List Search Today's Posts Mark Forums Read

Reply
 
Thread Tools
  #1  
Old 19 Sep 2012, 16:41
TheSupportForum TheSupportForum is offline
 
Join Date: Jan 2007
Temaplate Variables support needed

Hi all, i am porting over a VB4 product of mine its a simple template edit but need support on 1 issue

1) data from admincp
i have this option available within admincp


the varname is taken from the xml file and is shown in admincp

<setting varname="socialbadge_fbbadge_active_link" displayorder="20">
<datatype>free</datatype>
</setting>

this allows me to enter custom data as shown in the screenshot

now im trying to load that data from admincp into the template using this varaiable
which i am 100% sure its correct, but its now working
{vb:raw vboptions.socialbadge_fbbadge_active_link}


can anyone help please
__________________
http://www.multihunters.co.uk - all your coding needs
Reply With Quote
  #2  
Old 19 Sep 2012, 17:14
ForumsMods's Avatar
ForumsMods ForumsMods is offline
 
Join Date: Aug 2007
Real name: Adrian Sacchi
Did you set it to be public in Settings?
Attached Images
File Type: jpg settings.jpg (4.5 KB, 27 views)
__________________
Adrian Sacchi - Forums Mods
vBulletin Alpha/Beta Tester
vBulletin Bug Scrubber
Reply With Quote
  #3  
Old 19 Sep 2012, 17:23
TheSupportForum TheSupportForum is offline
 
Join Date: Jan 2007
Originally Posted by ForumsMods View Post
Did you set it to be public in Settings?
its an admincp settings which is

settinggroup name="socialbadge"

<setting varname="socialbadge_fbbadge_active_link" displayorder="20">
<datatype>free</datatype>
</setting>

i need to show the data entered from socialbadge_fbbadge_active_link
into a template
__________________
http://www.multihunters.co.uk - all your coding needs
Reply With Quote
  #4  
Old 19 Sep 2012, 17:26
ForumsMods's Avatar
ForumsMods ForumsMods is offline
 
Join Date: Aug 2007
Real name: Adrian Sacchi
You need to add this:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Under:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Remember that there is an easier way to add settings enabling debug mode.
__________________
Adrian Sacchi - Forums Mods
vBulletin Alpha/Beta Tester
vBulletin Bug Scrubber
Reply With Quote
  #5  
Old 19 Sep 2012, 17:48
TheSupportForum TheSupportForum is offline
 
Join Date: Jan 2007
Originally Posted by ForumsMods View Post
You need to add this:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Under:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Remember that there is an easier way to add settings enabling debug mode.

thank you so much it worked a treat
__________________
http://www.multihunters.co.uk - all your coding needs
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 14:41.

Layout Options | Width: Wide Color: