![]() |
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"); Code:
$entries=$DB_site->query("SELECT * FROM faqentries WHERE faqid='$page' ORDER BY showorder"); Cheers, Bira |
you are the best! :)
|
I changed the following:
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: |
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 :) |
keeps the installation as is and make the change in post 81
|
Quote:
Or should i turn back the others? |
I made no change except for the one by Bira on post 81 and works fine.
|
err so hey dose this work with 2.2.1?
|
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. |
grrrrrr some one!!
|
I have installed this on 2.2.1 and it is working fine along with 13 other hacks.
|
Installed in 2.2.1, and it works fine too. But the instructions in the zip file don't work for 2.2.1? In admin/index.php, instead of following the instructions,
Find: Quote:
Quote:
If I'm wrong, please correct me. |
Find the following in admin/faq.php:
PHP Code:
PHP Code:
|
@Armage Bedar BIG THX! It's work! :D :D :D
Just now I can Order set from the CP. Wolfgang |
With the old FAQ templates, I was able to use variables like:
$homeurl $bbtitle $inboxname $sentitemsname with this hack they are not working any more !! Does any one know how to fix this. Thanks |
Can Some one answer this please
Or at least tell me is it the way the hack works or the variables are not working for me only!! Thanks |
I would have to say that is it the way the new hack works, so you can no longer use the variables you used to use with the old hack.
As it seems, there are a few things in the hack that have not yet been fixed, but I am sure they will be fixed as soon as possible. Again, the reason the variables you probably used do not work anymore is because of the new hack I would think. I did not make the hack so I can not really tell you, but that would be my thoughts on it. |
Thank you very much Saint :)
I hope some hacker now can tell us how to use variable in this wounderfull hack |
Does this hack only modify the main vb faq or can you make a custom faq for each forum? I have many forums and in each one I want it's own individual topic specific faq. Does this hack do that or edit only the main vb faq???
thanx marc |
I would like to know if anybody is actually working on searchable version of this FAQ hack, so users can search through categories. Let me know because I would like to start working on it. Thank you.
|
If you are to do any thing, Please make it work with variables, just like the original FAQ. :)
$homeurl $bbtitle $inboxname $sentitemsname Thanks |
In FAQ.PHP around line 292 in addquestion section there is
PHP Code:
|
I did the hack and it worked fine for me a couple of weeks ago but now the FAQ when clicked upon is empty ... I might have done another hack that might have affected one of the files ... any opinions / advice ???
|
This is my FAQ bit in the original misc.php
PHP Code:
but then when asked to find PHP Code:
|
Does this hack work on vb 2.2.2? Just curious as I'm looking to add it. :)
TIA, Christina |
FireFly or another person, could you please let me know why I am getting the below error. I have applied the fix provided by Bira as well as the one that another member provided which is supposed to fix the ordering problem, below is the error I get when trying to change the order:
Warning: Variable passed to each() is not an array or object in /path/to/my/forums/admin/faq.php on line 344 |
I was having parsing problems until making the change from post #81.
Problem I'm having now is that the images are not showing up. Anyone have the code fix for this one? |
The images were not really working for me, I instead went in and instead of using the { images } variable I just used /path/to/image instead.
I need to find a way to correct that error :( |
Since no one answered about 2.2.2...
I installed it, and there weren't any updates to the admin control panel. If I try to run faq.php directly I get some complaint about "Fatal error: call to undefined function: cpheader() in....path\faq.php on line 13. Chrirstina |
You still would have to run the FAQ Install file to update things Christina, I think anyway (since there may be new queries or such added to the db).
I still have not figured out why I get the above error, Can anyone help out on this, I know I can not be the only one getting this, or am I? (I am using 2.2.1) |
Well, I did run faq_install first, and it showed no errors. It's just that things don't work after having done that...
|
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:
PHP Code:
Hope this gets it workiing for you. |
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 |
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: |
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:
|
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. |
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>"); |
The edit of the faq properties worked for me, thanks Fonz.
|
no problem slideboxer ;)
|
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:
|
All times are GMT. The time now is 04:19 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:
|