View Full Version : Req: Tutorial Section Hack
Mone'
09-26-2002, 09:33 AM
I have seen this hack for invisionboard and i'd like to see it for vbulletin to.
here is a small description of the ib hack:
adds a tutorial section to the forums
Features :
- Fully Searchable
- Unlimited Sections
- Unlimited Categories
- User Submission
- Admin control Panel
- User Ratings
- HTML and IBCode Integration
to view a demo of the category listing http://www.ibhelpers.com/?do=tutorials
and to view a demo of the actual tutorial http://www.ibhelpers.com/?do=view-tutorial&id=7 (http://www.ibhelpers.com/?do=tutorials)
If someone has the time to look at the code and port it to vbb or write something similar vould be great ;)
PLease have a look at it.
Thank you
Mone'
Mone'
09-27-2002, 02:30 AM
anyone ? :banana:
( i attached the invisionboard hack if you want to have a look at the code fo it )
or can u suggest something similar ?
thank you
Mone'
FlyingDutchman
09-27-2002, 05:44 AM
I think this is easier to do when you make a specific category the tutorial 'part' and the forums in there are the tutorial categories, where 'normal' posts contain the actual tutorials...
that's not very hard to do (1 or 2 file edit, maybe add some templates)
if i have some more time i'll look further into this...
Mone'
09-27-2002, 06:28 AM
thank you
i'll be waiting :)
FlyingDutchman
09-27-2002, 01:27 PM
in forumdisplay.php, find:
if ($foruminfo['allowposting']==1) {
eval("\$newthreadlink = \"".gettemplate('forumdisplay_newthreadlink')."\";");
}
REPLACE that with:
if ($foruminfo['allowposting']==1 && $forumid!=5 && $forumid!=6) {
eval("\$newthreadlink = \"".gettemplate('forumdisplay_newthreadlink')."\";");
}
else {
eval("\$newthreadlink = \"".gettemplate('forumdisplay_tutoriallink')."\";");
}
where the forum id's of my toturial 'categories' are 5 and 6 (you can change them or add them like: && $forumid!=x where x is the forum id)
add a new template called 'forumdisplay_tutoriallink' with the following content:
<a href="newthread.php?s=$session[sessionhash]&action=newthread&forumid=$foruminfo[forumid]"><img src="{imagesfolder}/newtutorial.gif" border="0" alt="Post New Tutorial"></a>
finally upload the attached image to your imagesfolder...
i don't know if this is really what you want, and if you want other/more features, just ask me ;)
Mone'
09-27-2002, 02:21 PM
thank you
i was more looking to have the post showing in a different way
i might look into something different maybe virtuanews will do what i need
mmore like an article tutorial sectipn that uses same db as vbulletin and template but look different.
have a look at the first 2 links for see what i mean.
thank you anyway for the code i will give it a shot
Mone'
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.