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)

christina 02-03-2002 11:46 PM

Well, I did run faq_install first, and it showed no errors. It's just that things don't work after having done that...

slideboxer 02-03-2002 11:55 PM

The faq_install itself doesn't make the changes to the control panel. During execution of the install you will receive instructions on what lines of code to modify in your admin/index.php file. This you have to do yourself. I think the install even had some wrong code for this part... here's what I added:

PHP Code:

// ***
makenavoption("Add Question","faq.php?s=<?php echo $session[sessionhash]; ?>&action=addquestion","|");
makenavoption("Add Group","faq.php?s=<?php echo $session[sessionhash]; ?>&action=addfaq");
makenavoption("Edit FAQs","faq.php?s=<?php echo $session[sessionhash]; ?>&action=modify");
makenavselect("FAQs");
// ***

underneath
PHP Code:

makenavoption("Add","announcement.php?action=add","|");
makenavoption("Modify","announcement.php?action=modify");
makenavselect("Announcements"); 


Hope this gets it workiing for you.

christina 02-04-2002 01:58 AM

Ok, don't know how I missed that bit during the install. :/ But, since making the changes, any of the items now in the control panel just give me an "Internal Server Error" and don't provide any more info...

Thanks, btw. :)

Christina

fonzerelli_79 02-04-2002 06:15 AM

the two problems which i found with this code were
1. html not working - apply biras fix on post 81
2. images not working

edit the following faq's :-

under User Maintenance:
What are the buddy and ignore lists?

under : General Board Usage
Can I send email to other members of this board?
What is Private Messaging?

under Reading and Posting Messages :
Can I edit my own posts?

Each of these faq's have to be amended to
Allow HTML in Answer? Yes
Allow smilies in Answer? Yes

Hope this helps
fonz :stoned:

christina 02-04-2002 01:25 PM

Ok, I've gone through and uninstalled, cleaned up the files I was supposed edit, and reinstalled again. But, I always get an internal server error when trying the items in the control panel... :(

Quote:

Originally posted by christina
Ok, don't know how I missed that bit during the install. :/ But, since making the changes, any of the items now in the control panel just give me an "Internal Server Error" and don't provide any more info...

Thanks, btw. :)

Christina


SaintDog 02-04-2002 02:51 PM

Well let's see, you have:

- Run faq_install.php
- Placed faq.php in your /admin/ directory
- Applied the updates from Bira
- Fixed what Fonz brought up

I am not sure why in the world you are getting an internal server error. It does not make too much sense on why you are getting it unless something other than the above have been modified on accident.

Where is Sinecure when you really! need him ;) - I am sure he could help both of us out.

SaintDog 02-04-2002 02:54 PM

You could use the below in the Admin CP, I am not sure what difference it would make, but you do not have to have the "echo" commands in the URL, it deals with the newer versions of vBulletin:

Code:

makenavoption("Edit","faq.php?s=$session[sessionhash]&action=modify","<br>");
makenavoption("Add Group","faq.php?s=$session[sessionhash]&action=addfaq","<br>");
makenavoption("Add Question","faq.php?s=$session[sessionhash]&action=addquestion","<br>");
makenavselect("F.A.Q. Editor");

Just a suggestion

slideboxer 02-04-2002 02:59 PM

The edit of the faq properties worked for me, thanks Fonz.

fonzerelli_79 02-04-2002 06:04 PM

no problem slideboxer ;)

christina 02-04-2002 06:15 PM

Thanks for the information, again.

It still doesn't work here, I've no idea why. :( I think I'm doing things right. I ended up redoing some things and made a faq.php that just calls my faq templates for me instead since I couldn't get this to work...

Christina
Quote:

Originally posted by SaintDog
Well let's see, you have:

- Run faq_install.php
- Placed faq.php in your /admin/ directory
- Applied the updates from Bira
- Fixed what Fonz brought up

I am not sure why in the world you are getting an internal server error. It does not make too much sense on why you are getting it unless something other than the above have been modified on accident.

Where is Sinecure when you really! need him ;) - I am sure he could help both of us out.



All times are GMT. The time now is 02:29 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.01207 seconds
  • Memory Usage 1,746KB
  • 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)bbcode_code_printable
  • (2)bbcode_php_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)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