The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
if I have a mod that has a admincp textarea where you enter in some text. Can I edit that from the frontend somehow?
Like it has the variable $vboptions['announce'] appended to it. Could I do an href="vboptions[announce] or something somehow? Kinda of how you can do with the phrases? Code:
a href="admincp/phrase.php?do=edit&e[global][phrase_name] |
#2
|
||||
|
||||
![]()
So you just want to link to the page that has that field? Sure, that can be done.
Code:
*ADMINCPDIR*/options.php?optiongroup=*OPTIONGROUP* |
#3
|
|||
|
|||
![]()
hmmm, ya no good yet. I modified what you said and I get the settings group, however that wasn't exactly what I wanted. However I'm guessing its the only way. I actually didnt really want the settings group, but 1 of the text fields within that settings group.
Code:
<a href="#" onclick="javascript:window.open('admincp/options.php?do=options&dogroup=announce_settings','popup','width=600,height=600');"> Edit</a> Code:
$options = $vbulletin->options['global_announce']; $output = '<textarea name="global_announce" rows="10" cols="50">' .$options.''; $output .='</textarea>'; echo $output; |
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|