![]() |
I'm really starting to get into this hacking lark, I might do something adventurous soon hehe.
|
good luck lol
|
Quote:
should the following lines bechanged instead?? PHP Code:
|
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 |
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 ;) |
[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:
PHP Code:
|
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 |
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! |
The .zip on the 1 page, is that the upgraded version for 2.5 ore the newest version of the board ?
|
IceMalee; then you shall call him Matthew. Heh. ;)
Just upgraded to 2.2.6, working well with the fixes. :) |
I'm having a small problem. I plan on using the Referrer Link located in the FAQ. However $userid does not parse. How do I get that link to display the correct referral link?
|
Quote:
PHP Code:
PHP Code:
|
I got it working fine. Thanks for the hack, it's just what I needed. :)
|
I can get it to update the order of the faq entries.
I get this error at the top of the page: Warning: Variable passed to each() is not an array or object in /mnt/web/guide/johnsworld/www/midi/board/admin/faq.php on line 347 |
Working on 2.2.7 with about 40 other hacks. :)
|
This hack is brilliant - I've been using it for a while now. Remember to use the HTML/ bbcode fix a couple of pages back.
|
Quote:
Any ideas? :( |
I have custom headers w/ my themes, and the FAQ button got taken out (not intentionally). How do I get it back so I can use the FAQ again? What is the url I should use for the link, and where should I put it? Back in the header where the rest of the buttons to navigate thru the rest of the site are?
|
For all those fighting with the faq entries and not having things like $bbtitle, { imagesfolder } and maybe even $bbuserinfo[userid] parsing or showing correctly....
I *think* I have found a solution. Determined to get this working and thinking "hey, templates come from the DB so it should work...". Anyway, enough ranting. I did this. in misc.php AFTER PHP Code:
PHP Code:
Have fun. :bunny: Download the attached text file and copy/paste over what you have in misc.php for the faq bit. The parsing code in vB is screwing up the new PHP bit. |
OK slight problem I've noticed while running this hack on 2.2.7. If you look here... http://www.gamerforums.com/board/misc.php?s=&action=faq ... You'll see that the Groups have messed up HTML, the brackets e.t.c are included in the hyperlinks [look and you'll understand what I mean]. When I edit the groups, the formatting is fine - why would it be doing this? Anyone have any ideas? Thanks in advance. :)
|
Quote:
On my board (yet to see the light of day) I have modifed this hack to have an additional title (called menutitle to be exact) that is used for "menu" parts of the display. The text in this column is just the question (no hyperlinks). The original title is then used on the "detail" part and does contain the hyperlinks. This then looks identical to the original template based version. I may put this code up at a later date once I do the admin bit and check with Kevin that it is ok. Sorry I couldn't be of more help. |
I'm running 2.2.6 and there is no FAQ mention AT ALL in misc.php. So how to replace this:
Code:
Find: |
suspect you are looking in yoursite/path-to-forum-if-any/admin/misc.php, not yoursite/path-to-forum-if-any/misc.php.
In a vanilla 2.2.6 yoursite/path-to-forum-if-any/misc.php it starts on line 96. Oh, and don't forget to look at post #179 for the fix for variable parsing. Cheers |
Damn, double files. What a crap idea. :D
Thanks man. |
Quote:
Code:
admin/index.php <a href="bbcode.php?s=<?php echo $session[sessionhash]; ?>&action=modify"> Modify </a> </td></tr> In my admin/index.php at least..... |
Bumpety bump. ;)
|
Okay, i added:
Code:
PHP: Code:
<!-- FAQ addon --> |
Quote:
|
In line ~94 I have removed "$sql" because I had trouble after installing 4Images with VB integration.
Original: $query = "SELECT faqid,title FROM faq $sql ORDER BY showorder"; It's now: $query = "SELECT faqid,title FROM faq ORDER BY showorder"; Everything works fine now, but I wonder if removing the $sql could cause any trouble in future (I know almost nothing about php/sql ^^; ) Just wanted to hear your opinion about this. |
The code you need to find in misc.php in 2.2.8 isn't present, so I have to uninstall this hack. :( Anyone have any ideas? Thanks in advance...
|
Hi, I installed this, and added a new faq catagory, but it isn't showing up in the faq. What is wrong?
Thanks for your help -Arunan |
I did a search for FAQ in the database, and this was the only result.
No offense, but the whole thread is filled with problems. |
This hack is very out-dated, it's a shame not all hackers support their work [I realise this isn't manditory, but it would be nice].
|
An update for this would be great.
|
[QUOTE]02-27-03 at 10:27 PM Mike Gaidin said this in Post #194
An update for this would be great. |
Quote:
Yes I agree with that |
considering how old this hack is im not surprised its not updated but is there any way to get this to work with vb 2.3.0 it works fine in the admin cp but when viewing the faq nothing shows up as was previously stated
|
tried installing on 2.30 heh no luck ...
|
It works on 2.3.0. I've had this hack from when it was released, and just upgraded my vB, and it has kept on working.
|
After a couple minutes of code manipulation, I have it working in 2.3 :) very nice hack
I think all I did was in misc.php REPLACE Code:
$faqs=$DB_site->query($query); Code:
$faqs=$DB_site->query("SELECT faqid,title FROM faq $sql ORDER BY showorder"); Code:
$query = "SELECT faqid,title FROM faq $sql ORDER BY showorder"; |
All times are GMT. The time now is 11:44 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|