The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Details »» | |||||||||||||||||||||||||
I have made some modifications to the hack by Stasik, which is located here.
New features:
Portions, including the installer, are © 2001 Kevin Schumacher. Portions of the installer were created by Bane. The hack and its' installer may not be redistributed, edited or not, without this copyright notice attached. For version: 2.0.3 Files needed: faq_install.php, faq.php Files to edit: admin/index.php, root/misc.php Templates to edit: None. Instructions: Upload and run faq_install.php from your admin directory. Follow the on-screen directions. Upgrading from Stasik's hack: Upload and run faq_install.php from your admin directory and choose the option to upgrade from v2 of the hack. Upgrading from a previous version of *this* hack (e.g. from this thread): Upload and run faq_install.php from your admin directory and choose the option to upgrade from "v3, v31, or v32" of the hack. Please DO NOT contact me via PM, IM, email, or otherwise outside this thread about this hack. Thanks to Stasik for the great hack! Show Your Support
|
Comments |
#132
|
||||
|
||||
It seems to only allow you to add the questions from under the "Edit FAQS" link in admincp. Everything else, like everyone says, seems to comply but no show.
|
#133
|
|||
|
|||
Gotcha... thanks for that
|
#134
|
||||
|
||||
My pleasure, now if someone could just fix that
|
#135
|
|||
|
|||
Can any kind soul help me the order function does not work in the Admin CP I get this error message.
Warning: Variable passed to each() is not an array or object in /home/sites/site253/web/bboard/admin/faq.php on line 347 Everything else is working fine |
#136
|
|||
|
|||
Well After a little messing with the code (wish i know what i was doing :P)
here is the modified code for v2.2.2 Open Admin/index.php Find: // *** makenavoption("Add","bbcode.php?action=add","|"); makenavoption("Modify","bbcode.php?action=modify") ; makenavselect("Custom vB Codes","<hr>"); Add Directly Under that: //************************************************** makenavoption("Add Question","faq.php?action=addquestion"); makenavoption("Add Group","faq.php?action=addfaq"); makenavoption("Add Edit","faq.php?action=modify"); makenavselect("FAQ Database","<hr>"); Save And Upload. Hope The Orig Authour didnt mind me adding this info, |
#137
|
||||
|
||||
works great for me on 222
small fix though. html wasn't working then I also noticed that the replacement vars weren't working so images were dead. It's because of the bbcodeparse. since I will be using html instead of vbcode or smiles, I just commented out the bbcode pars line in misc.php $entry[text] = bbcodeparse2($entry[text],$entry[dohtml],$entry[dobbcode],$entry[dosmilies],$entry[dobbcode]); add // in front of the line this will fix html and replacement vars but you'll lose vbcode and smilies. oh well I'm still not able to get vars like $bbtitle to work though. odd |
#138
|
|||
|
|||
Running fine on 2.2.4 here is my faq code from the misc.php:
Code:
// ############################### start faq ############################### if ($action=="faq") { $templatesused = "faq_title,faq_head,faq_entry"; include("./global.php"); if(isset($page)){$sql = "WHERE faqid='$page'";} $query = "SELECT faqid,title FROM faq $sql ORDER BY showorder"; $faqs=$DB_site->query($query); while ($faq=$DB_site->fetch_array($faqs)) { if (isset($page)) {$title = " > <a href='misc.php?s=$session[sessionhash]&action=faq&page=$faq[faqid]'>$faq[title]</a>"; } $questions=$DB_site->query("SELECT entryid,title,faqid FROM faqentries WHERE faqid='$faq[faqid]' ORDER BY showorder"); while ($question=$DB_site->fetch_array($questions)) { eval ("\$faqtitles .= \"".gettemplate("faq_title")."\";"); } eval ("\$faqhead .= \"".gettemplate("faq_head")."\";"); unset ($faqtitles); } if (isset($page)) { $entries=$DB_site->query("SELECT * FROM faqentries WHERE faqid='$page' ORDER BY showorder"); while($entry=$DB_site->fetch_array($entries)){ $entry[text] = bbcodeparse2($entry[text],$entry[dohtml],$entry[dobbcode],$entry[dosmilies],$entry[dobbcode]); eval ("\$faqentries .= \"".gettemplate("faq_entry")."\";"); } } eval("dooutput(\"".gettemplate("faq")."\");"); } my html smilies AND vbcode are working the only thing that doesn't work is variables |
#139
|
||||
|
||||
Quote:
I am using vb 2.2.4 Here is my FAQ section. I had done the changes and now can display HTML as well as vb codes. But variables as pointed out by many others, is not working. |
#140
|
||||
|
||||
I installed FAQ on 2.2.4 and I just upgraded to v2.2.5 and it works but none of the hacks I added work. I just tried to add a FAQ but it didn't work. It accepts it but it never shows up.
Is anyone else having this problem after an upgrade? |
#141
|
||||
|
||||
I uninstalled and reistalled it again and all is working fine.
Quote:
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|