The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Details »» | |||||||||||||||||||||||||
Forum Features Hack
---- About This adds several new options and features to individual forums that can be useful. New Features 1. Meta Tag Keywords set by forum. 2. Meta Tag Description set by forum. 3. Robot Meta Tag set by forum. New Options 1. Censor words by Forum. 2. Minimum Posts required for New Thread. 3. Minimum Posts to view Forum. ---- Credits This hack is distributed under the GPL as an add-on to vBulletin. vBulletin is a commercial product and not subject to this license agreement. Written by: Wayne Luke Portions of the Install script written by: Kier Darby vBulletin is created by Jelsoft Ltd. http://www.jelsoft.com ---- Installation. Run ff_install.php. This will make the modifications to the database and create the new templates. Open admin/forum.php and look for: PHP Code:
PHP Code:
PHP Code:
PHP Code:
PHP Code:
PHP Code:
PHP Code:
PHP Code:
PHP Code:
PHP Code:
PHP Code:
PHP Code:
PHP Code:
<META NAME="keyword" content="$keyword"> <META NAME="description" content="$description"> <META name="robots" content="$robotext"> These same instructions are included in the readme.txt located in the zip file. Show Your Support
|
Comments |
#12
|
|||
|
|||
Ok that make sence, have to figure out how to use it on my board then. Btw very nice work. ;-)
|
#13
|
|||
|
|||
This looks to be a great hack. I just ran into a slight problem on the install
I have followed the instructions and when i run the ff_install.php I get to the following Forum Features (version 1.2) from Wayne Luke Altering forum table Installing necessary templates... it just hangs there. Does not go any further. I have seen that it created the following in the forum table: metakey char(250) Yes None NULL metadesc char(250) Yes None NULL robotext char(50) Yes None NULL showactive smallint(5) No None 1 censor smallint(5) No None 1 minviewposts smallint(5) No None 0 minposts smallint(5) No None 0 No other information was entered that I can see in any of the tables. Any thoughts. I have removed the above fields. TIA john |
#14
|
||||
|
||||
It isn't hanging there.. It is done at that point.
To clarify, I add a phrase saying it was done at the end of the script. The only table in the database that it touches is the forum table and those fields are the ones it adds. The install script also adds 2 new error templates to handle the minimum post requirements for new threads and viewing a forum. You can change these options by modifying a particular forum. |
#15
|
|||
|
|||
WLuke,
I installed and now I get this when I try to add a subforum. Database error in vBulletin Control Panel: Invalid SQL: INSERT INTO forum (forumid,styleid,title,description,active,displayo rder,parentid, parentlist,allowposting,cancontainthreads,daysprun e,newpostemail,newthreademail, moderatenew,allowhtml,allowbbcode,allowimages,allo wsmilies,allowicons, styleoverride,allowratings,countposts,moderateatta ch,metakey,metadesc,robotext, showactive,censor,minviewposts,minposts) values (NULL,'1','testtesttest','', '1','1','1','','1','1', '30','','', '0','0','1','0','1', '1','0','1','1','0', '','','', 1,1,,) mysql error: You have an error in your SQL syntax near ')' at line 13 mysql error number: 1064 Date: Wednesday 06th of June 2001 10:31:10 PM Script: /forum2/admin/forum.php Referer: http://www.s-seriesforum.com/forum2/...add&parentid=1 |
#16
|
|||
|
|||
You need to put single quotes around the $minviewposts and $minposts in the INSERT statement you edited in admin/forum.php. For some reason MySQL requires quotes for all datatypes except INT. Those two fields are SMALLINT.
|
#17
|
||||
|
||||
If I do all of your code changes, and run upgrade10.php from the newest vbulletin2.zip file that I downloaded from the Member's Area, will I be fully compliant with 2.0.1, becuse I have alot of hacks, and don't want to have to go through them all again....Thanks.
|
#18
|
||||
|
||||
Quote:
|
#19
|
||||
|
||||
Is there anywhere I can find a list of changes in 2.0.1? from 2.0.0
|
#20
|
|||
|
|||
when i try to run the ff_install.php i get this erorr
Quote:
|
#21
|
||||
|
||||
Put it in your admin directory.
|
Thread Tools | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|