Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 2.x > vBulletin 2.x Full Releases
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
vB Statements System Details »»
vB Statements System
Version: 1.00, by Floris Floris is offline
Developer Last Online: Mar 2021 Show Printable Version Email this Page

Version: 2.2.x Rating:
Released: 04-19-2002 Last Update: Never Installs: 25
 
No support by the author.

__________________________________________________ __
__________ ? 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

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #22  
Old 08-12-2002, 03:38 AM
Floris Floris is offline
 
Join Date: Jan 2002
Posts: 1,898
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #23  
Old 08-21-2002, 01:14 PM
curley curley is offline
 
Join Date: Jul 2002
Posts: 34
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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!!

Reply With Quote
  #24  
Old 08-21-2002, 01:24 PM
Floris Floris is offline
 
Join Date: Jan 2002
Posts: 1,898
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #25  
Old 08-21-2002, 02:11 PM
curley curley is offline
 
Join Date: Jul 2002
Posts: 34
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #26  
Old 08-21-2002, 03:16 PM
Floris Floris is offline
 
Join Date: Jan 2002
Posts: 1,898
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

### 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!
Reply With Quote
  #27  
Old 08-21-2002, 03:17 PM
Floris Floris is offline
 
Join Date: Jan 2002
Posts: 1,898
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Sorry .. I can not be much clearer then this, maybe the hack is just too difficult for you.
Reply With Quote
  #28  
Old 08-21-2002, 04:40 PM
curley curley is offline
 
Join Date: Jul 2002
Posts: 34
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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!

.
Reply With Quote
  #29  
Old 11-24-2002, 03:36 PM
JulianD's Avatar
JulianD JulianD is offline
 
Join Date: Jan 2002
Posts: 455
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I think this is great for my new forums! Thanks!
Reply With Quote
  #30  
Old 11-24-2002, 04:03 PM
Floris Floris is offline
 
Join Date: Jan 2002
Posts: 1,898
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by JulianD
I think this is great for my new forums! Thanks!
Glad to hear
Reply With Quote
  #31  
Old 01-11-2003, 05:29 PM
Ember's Avatar
Ember Ember is offline
 
Join Date: Sep 2002
Location: Hereford, England
Posts: 200
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Excellent hack, very useful.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 08:56 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04757 seconds
  • Memory Usage 2,306KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete