vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   FAQ Edit v3 (https://vborg.vbsupport.ru/showthread.php?t=27733)

FleaBag 05-24-2002 12:13 AM

I'm really starting to get into this hacking lark, I might do something adventurous soon hehe.

geniuscrew 05-24-2002 12:16 AM

good luck lol

scsa20 05-24-2002 03:26 AM

Quote:

Originally posted by geniuscrew
Firstly do EXACTLY what it tells you in the instructions - don't run any queries mentioned in this thread or change bbparsecode2 to bbparsecode

simple replace this


Code:

$entries=$DB_site->query("SELECT entryid,title,text FROM faqentries WHERE faqid='$page' ORDER BY showorder");
with

Code:

$entries=$DB_site->query("SELECT * FROM faqentries WHERE faqid='$page' ORDER BY showorder");
(in misc.php)




That's what fixed mine :)

Hope that helped!

funny, I areadly had that code for along time when I first installed it, and when I put in a location for a images as {imagesfolder }/whatever.gif, it doesn't work and I take a look and it just shows {imagesfolder }/whatever :(.

should the following lines bechanged instead??

PHP Code:

$entry[text] = bbcodeparse2($entry[text],$entry[dohtml],$entry[dobbcode],$entry[dosmilies],$entry[dobbcode]); 

if so, to what...if that's not what I so'pose to change, then what?? :( I'm so lonely without that HTML praseing :(

Elentari 05-27-2002 12:29 AM

Ive installed this hack ... but now html is showing up as raw code on the FAQ page ... Ive tried fiddling with the codes as shown above, but it doesnt seem to be solving it. Any ideas?
My forum is at www.christiansurvivors.com/forums
the FAQ page is at http://www.christiansurvivors.com/fo...?s=&action=faq

Something else I noticed is that adding questions through the 'edit group' option, works fine - but using the add a question link directly from the left hand menu in user cp, it says its added the question, but it hasnt really!!

Hoping for some ideas!!
Thanks!

El xx

Elentari 05-27-2002 11:06 PM

Anyone??

I have since tried uninstalling and reinstalling, but ended up with exactly the same result!!! :p

edit : finally got it working!! uninstalled and installed AGAIN ... did exactly the same thing and it worked LOL!! Go figure ;)

Keyser S?ze 05-31-2002 05:14 PM

[QUOTE]Originally posted by GamerForums
OK, maybe this is just me but the code in admin/index.php isn't there either, so for anyone else - this is what I did.

Find...
PHP Code:

makenavselect("User Titles");
// *** 

Below that, add...
PHP Code:

makenavoption("Add Group","faq.php?action=addfaq","|");
makenavoption("Edit Group","faq.php?action=modify","<br>");
makenavoption("Add Question","faq.php?&action=addquestion");
makenavselect("FAQ Maintenance");
// *** 

...and that should have your CP sorted. :) Seems to be running fine on 2.2.5, thanks for the tip geniuscrew and thanks for the hack tubedogg. :D

Keyser S?ze 06-05-2002 04:55 AM

got this error msg Parse error: parse error in /usr/home/emusa/emusanet.com/public_html/forums/misc.php on line 147

but theres nothing on line 147

sigh, help pls

xeon 06-07-2002 04:36 PM

I dl'd the file in post one and did a clean install. I do not see any template additions when I run the faq_install.php, just the misc.php and index.php changes . I see the templates on page 3 of this post, but shouldn't these have been in the install file zip? Upon review with phpmyadmin, I see none of my templatestid's are 1, which is something I see in the install file in relation to the templates. The install script is looking for a templatestid #1.
Edit Update
I pulled the templates and put them in the long way, everything seems to be ok except for images are not working. I had to change the line mentioned in the prev. page to get html to parse, but images don't seem to be working. Changing the path to
<img src="/images/image.gif"> seem to do the trick though. This would have been easier if not for the template problem, which was my own. Very useful hack!

DudeSicko 06-12-2002 10:13 AM

The .zip on the 1 page, is that the upgraded version for 2.5 ore the newest version of the board ?

FleaBag 06-19-2002 07:54 PM

IceMalee; then you shall call him Matthew. Heh. ;)

Just upgraded to 2.2.6, working well with the fixes. :)


All times are GMT. The time now is 03:09 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01232 seconds
  • Memory Usage 1,749KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_code_printable
  • (3)bbcode_php_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete