![]() |
I cannot find my templates to edit anywhere at all. When i goto Style Manager -> Edit Templates nothing is listed at all under custom templates. Clearly the templates have to be somewhere because my test page is showing the form I have been working on in the Plugin PHP Code section.
http://www.legacyofthehorde.com/foru...hp?do=wow_form The Plugin Code shows... PHP Code:
Any ideas? |
Since my upgrade to 3.7, i get an error when viewing a form that is intended for those not logged in. The error only displays if you are not logged in and yes I have the guest variable enabled.
Quote:
|
Quote:
|
Quote:
Quote:
Quote:
|
Thanks for point me in the right direction!
Great mod! |
Without sounding stupid, is there a complete idiots guide to getting this working?
I am a new forum admin, but I am a programmer (not PHP) and I am struggling to understand how this all hangs together and how to make it work. I imported the XML file with the product manager. I then found the plugin and edited that, although I didnt make any changes. I figured that the PHP code was what generated the form, so I left that alone for the minute to just get something to work. However I don't know how to get this to trigger from a forum i.e when I press the new thread button, I don't get the form. I assume you enable it somehow for each forum. I also don't understand the relationship between the product and the plugin. Do you use the priduct to create multiple plugins as needed? How are they named and how does the name relate to which form you want displayed in each forum? I tried reading this entire thread, but 90 pages is beyond me making sense of it. Any help and guidence would be most appreciated. Cheers Rohan |
Quote:
You don't necessarily have to do that for all text, as is shown in the example plugin, but you do need to do it for the form areas. Open the plugin again and go through the area again line by line. There's instructions all through the plugin on what does what and what needs to be configured. In fact, most, if not all of the documentation was worked into the plugin's comments. |
Thanks Jedi, I have now got it working.
The biggest problem I had was understanding how it worked, I didn't realise that this was a page that you linked to, that in turn took the results and posted them. I was thinking the form would appear when I clicked the "New Thread" button on a nominated forum. I do however have a couple of questions. How do I stop guests from using the form? i.e make the submit not work if your not logged on and Can the formanswer template have HTML tags in it like <b></b>? I tried adding them but it just showed the tags in the result. Cheers Rohan |
Quote:
Guests permissions is a variable in the plugin. |
DJ, This is a question in referance to post #1313 where a someone asked:
Quote:
The default code looks like this: Code:
if ($vbulletin->userinfo['autosubscribe'] != -1) Code:
$newpost['emailupdate'] = 9999; By looking at functions_newpost.php, '9999' apears to be the correct value to delete any subscritions for that thread? Code:
// ### DO THREAD SUBSCRIPTION ### |
All times are GMT. The time now is 02:39 AM. |
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:
|