The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
vB Statements System Details »» | |||||||||||||||||||||||||
__________________________________________________ __
__________ ? vB Statements System 1.0.1 ? __________ ?????????? (Addon for vBulletin v. 2.2.5) ?????????? ?????????????????????????????????????????????????? ?? ? Author: Floris (xiphoid) [info@creations.nl] ? Copyrights: ? 2002 The 'open forum' @ creations.nl ? Status: Final (version 1.0.1) ? Last build: 27 April 2002 (00:30h) ? Support: Limited (I am a newbie, sigh) ? Example: http://statements.creations.nl/ ? Screenshots: Included in statements.zip file ? Any of the files from this add-on may only be distributed through vBulletin.org/creations.nl ? Modifications are allowed as long as this header and the 'Powered by..'-line on the pages stay put __________________________________________________ __ Changelog: 0.0.9 - First public (beta) release 1.0.0 - Type in if-statement fixed 1.0.1 - Added 'templatesused' for caching Beta 1.0.1 is now Final 1.0.1 - released as full release now. ### Introduction ???????????????? This little 'Add-on' hack will let you use your privacy statement-link in the footer of your forum in a more dynamic way. Fully integrated with vBulletin, managed through (unlimited) templates and handled by a single file. And this makes you able to call it from any point on any page that you want, through a link; being a text link or a forum button. In this situation we will make a new link to the footer, and include the Contact Us-link! Currently it is required for the Administrator of the forum to have some experience with the vBulletin template system, some basic html and it wouldn't hurt to understand how to edit the .php file in question (though it is fairly easy). Expanding the statements is pretty easy. All you have to do is add another action to the .php file and add a new template which it should call. And add the link to the statements index page (template). ### To Do ????????? You only have to upload one new file, add a few new templates and enable the Privacy URL (and Contact us)-option. There are no files or templates to edit and it takes about (approximatly) 10 minutes to install. Pretty simple, and upgrading to future vBulletin 2.x versions would not affect this hack. Installation instructions and screenshots, .php file and the templates are included in the attached statements.zip file. Please use this thread for discussing the development of this little addon-hack and all flaming/trolling/etc about it can be E-mailed to junkmail@creations.nl I am releasing this, because it is pretty complete now, and several of my vBulletin forum friends have requested this. Show Your Support
|
Comments |
#22
|
|||
|
|||
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.
|
#23
|
|||
|
|||
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!! |
#24
|
|||
|
|||
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. |
#25
|
|||
|
|||
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. |
#26
|
|||
|
|||
### 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! |
#27
|
|||
|
|||
Sorry .. I can not be much clearer then this, maybe the hack is just too difficult for you.
|
#28
|
|||
|
|||
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! . |
#29
|
||||
|
||||
I think this is great for my new forums! Thanks!
|
#30
|
|||
|
|||
Quote:
|
#31
|
||||
|
||||
Excellent hack, very useful.
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|