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)
-   -   [RELEASE v.2.x.x] Additional FAQ Hack (FAQ edit) (https://vborg.vbsupport.ru/showthread.php?t=27512)

floleb7 09-06-2001 07:39 PM

i can't it's on my computer
i see in misc.php?action=faq&page=4#test
but not with all the line

floleb7 09-06-2001 07:45 PM

i did everything correctly i have checked

Stasik 09-06-2001 07:55 PM

// ############################### start faq ###############################
if ($action=="faq") {
$templatesused = ""; // Only one template used so load it when called
include("./global.php");

eval("\$faq_headlines = \"".gettemplate('faq_headlines')."\";");

$page = intval($page);
if (!$page)
$page = '';
if($page == "4"){
eval("dooutput(\"".gettemplate("faq_additional")." \");");
} else {
eval("dooutput(\"".gettemplate("faq$page")."\");") ;
}

}
replace the whole part in musc.php

then the $faq_headlines in faq template HAS to work

Mike Gaidin 09-06-2001 08:10 PM

Hallelujah!!! I've been waiting for this.

*runs off to try it*

Stasik 09-06-2001 08:12 PM

ups.... there was a small mistake in instructions... replaced :)

J-OST: if u has troubles: just read a install-point 3 in new file ;)

floleb7 09-06-2001 08:14 PM

yes i have search include("./global.php");
but there are 3 include("./global.php"); in misc.php so you need to take the latest;)

Mike Gaidin 09-06-2001 08:44 PM

Here is what I get...any ideas?


why doesn\'t this work?
i can\'t figure it out


$footer ' WHERE templateid=A mysql error: Unknown column 'A' in 'where clause' mysql error number: 1054 Date: Thursday 06th of September 2001 05:42:14 PM Script: /forums/admin/faq.php Referer: http://www.mikegaidin.com/forums/admin/faq.php?s= -->
There seems to have been a slight problem with the database. Please try again by pressing the refresh button in your browser.

An E-Mail has been dispatched to our Technical Staff, who you can also contact if the problem persists.

We apologise for any inconvenience.


Database error in vBulletin Control Panel: Invalid SQL: UPDATE template SET templatesetid=1,title='faq_additional',template='{ htmldoctype}



$headinclude


$header
> Frequently Asked Questions

$faq_headlines
A



why doesn\'t this work? i can\'t figure it out $footer


' WHERE templateid=A
mysql error: Unknown column 'A' in 'where clause'
mysql error number: 1054
Date: Thursday 06th of September 2001 05:42:14 PM
Script: /forums/admin/faq.php
Referer: http://www.mikegaidin.com/forums/admin/faq.php?s=

DarkReaper 09-06-2001 10:54 PM

I can't wait to install it, but I've got a suggestion:

Make it so you can edit the current FAQ questions and categories. So the entire FAQ can be managed through the admin CP and not just one extra section of it.

webhost 09-06-2001 11:17 PM

DarkReaper

This was only a start.

Mike Gaidin 09-06-2001 11:29 PM

webhost, I've done everything exactly as it said to, but it still doesn't work. Any other ideas?


All times are GMT. The time now is 07:45 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.01022 seconds
  • Memory Usage 1,729KB
  • 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
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (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