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)

bira 12-30-2001 04:34 PM

Kevin you have a serious mistake in your code, which is why no one here manages to parse HTML:

dohtml is $entry[dohtml] in your code. BUT YOU NEVER SELECTED IT :D

Code:

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

Code:

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

Cheers,

Bira

Lionel 12-30-2001 04:49 PM

you are the best! :)

Hoffi 12-30-2001 08:36 PM

I changed the following:
  • In every SELCT-Statement in the FAQ-Section from the misc.php I set a Star instead of the different row-names. (Sample: SELECT * FROM faq $sql ORDER BY showorder).
  • I use bbcodeparse2.

So the HTML is parsed Good. The Smilies works too. vbCode works all, insted of the [ url ]. This creates a Link like this:
http://usercp.php/?s=

Have anyone a Idea?

And i have another Problem: The Order can't set from the CP. :stupid:

Wolfgang 01-02-2002 11:01 AM

I have the same Problem: The Order can't set from the CP.

I get the Error:

Warning: Variable passed to each() is not an array or object in
/home/sites/site479/web/forum/admin/faq.php on line 344

Order updated!


HTML, Smilies and vbCode works!

Have anyone a Idea?


THX, wolfgang :)

Lionel 01-02-2002 12:23 PM

keeps the installation as is and make the change in post 81

Hoffi 01-02-2002 12:40 PM

Quote:

Originally posted by Lionel
keeps the installation as is and make the change in post 81
I did it. And the other SQL-Statement too. I wrote it before...

Or should i turn back the others?

Lionel 01-02-2002 12:45 PM

I made no change except for the one by Bira on post 81 and works fine.

Psychdrone 01-03-2002 08:29 PM

err so hey dose this work with 2.2.1?

dotagious 01-03-2002 09:35 PM

I have the same question about it working for 2.2.1

I also would like to know what this actually does. I tried to follow the link to the original hack as to find out, but it blocks me from that forum.

Psychdrone 01-05-2002 03:45 AM

grrrrrr some one!!


All times are GMT. The time now is 09:47 AM.

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.01995 seconds
  • Memory Usage 1,734KB
  • 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
  • (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