![]() |
Since they are stand alone pages, and that it works perfectly on my 2.2.6 forum, yeah. I think with 2.2.7 and 2.2.8 etc too :) Maybe it needs to be modified when 3.x comes out, but we will see.
|
This is a great system and I want to install several docs but am having trouble with the install instructions.
Can someone help? I setup the following: template_statements_privacy.txt ......_mission.txt ......_supporters.txt ......_guidelines.txt I had it working before with Privacy Policy but I didn't want the URL to be ....statements.php?s=$session[sessionhash] Am I missing something? Why would for instance a statement for Contact Us be ....[sessionhash]&action=contact then? Sorry but I am going to launch in a week or two and I am going to have VERY skeptical members. I need to complete these in the most effective fashion. A step through for one statement creation would be great. I have all the content ready to go. Great System Xiphoid!! :) |
The sessionhash in the link is kind of required, when one clicks on it it will be as with EVERY other vB url ?s=&action=blahblah .. don't worry about it.
those .txt files are the text files for the template, ofcourse .. don't name the template ending with .txt .. kind of obvious .. I think I included install & example on how to make a policy for one thing, so it would be easy to make another. I see no reason to repeat myself, when its already in the install files. Just read it again and maybe it comes to you. |
Kind of obvious to some, but not for a newbie like me.
Pardon the ignorance. I have understood most other hacks... Perhaps someone else could add some further instruction. Again, I'm a newbie. :). I have actually installed successfully two others' of yours and they are working great. Thanks. |
### Adding a statement
¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯ If everything is set up and you think 'Cool, but I am missing a statement', then these are the instructions for you to follow in order to add a statement. In the following example we will add a 'Piracy Statement' where we will explain our users that the forum does not accept warez. ## Step 1: Adding the action Open up statements.php in your favorite text editor and search for: ?> Before that add: // display statement - piracy if ($action=="statements") { eval("dooutput(\"".gettemplate("statements_piracy" )."\");"); } Safe and upload the file. ## Step 2: Addin the template In your Admin Control Panel, make a new template: - statements_piracy (template_statements_new.txt) Now edit the template statements_piracy and find all the: #title# Replace them with: Piracy And add your html/text for the statement where it says: Put your Piracy Statement html/text here! Done! (And as you can see, you can do that for any new statement that you want to add) ### Removing a statement ¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯ If you want to remove a statement, you can follow these steps: (please note, that it is a bit different for the 'contact us' link!) ## Step 1: Removing the action Open up statements.php in your favorite text editor and search for the statement that you want to remove, in our example we want to remove the mission statementm, so remove: // display statement - mission if ($action=="statements") { eval("dooutput(\"".gettemplate("statements_mission ")."\");"); } Safe and upload the file. ## Step 2: Removing the template In your Admin Control Panel, goto "Templates" > "Modify" and search for the statement_mission template. Click on "[remove]" to delete it. Done! |
Sorry .. I can not be much clearer then this, maybe the hack is just too difficult for you.
|
I felt bad about my last post...I am feelin' a little stressed and apologize for the tone.
I am going ahead and just posting under my main url an .htm page for the few docs I have. It is easier for me to do at this stage... I just wanted to say that my other hacks from Xiphoid have been excellent and the support here is great!! All the best...see you online! :). |
I think this is great for my new forums! Thanks!
|
Quote:
|
Excellent hack, very useful.
|
All times are GMT. The time now is 06:58 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:
|