![]() |
How exactly have you created 'bbtitle_discrete' in the first place ?
|
Thanks for your reply Paul, please read my first post in this thread.
|
Hi, I'm still looking for a solution on this.. can anyone help?
|
When you answer my question, what steps exactly did you take to create it.
|
Hi Paul, Thanks for replying.
I created the variable through MySQL queries. Code:
INSERT INTO `setting` VALUES ('bbtitle_discrete', 'address', 'HC Support Forum', 'vBulletin Forums', '', 15, 0, 1, 'free', 'vbulletin', '', 0); The above queries allow me to edit the new variable in the adminCP. I assumed that since the variable is in the setting table (alongside the original variable - bbtitle), it would be simple for me to access it's value in the scripts, provided I ensure that it is being set. That's why I am trying to find out where the original variable - bbtitle - is set. Regards Remo |
You could've created that setting without running SQL queries of your own, that's what the Products are for. You could just change $vbulletin->options['bbtitle'] by using a plugin at global_start.
|
ok, thanks Dismounted, but...
I don't actually want to change $vbulletin->options['bbtitle'] everywhere, only in some places. That's why I created another variable, $vbulletin->options['bbtitle_discrete'] , so that I can use both. Also, I created it this way so that it can be edited in the adminCP. Could you explain how I would do this in the way of a plugin? Thanks Remo |
It depends where you want to change it.
|
If you go back to page 1 in this thread, one of my posts states all of the phrases I have changed 'bbtitle' to 'bbtitle_discrete'.
|
What you are trying to do would need a lot of changes in phrases, templates and worse code-edits.
I suggest you try to do it the other way round: Mask your bbtitle, create a new setting with the real title and use that in your regular templates (just a guess, probably only needed in header template). Not tried this but i have the feeling it would be a lot less work. |
All times are GMT. The time now is 02:12 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|