![]() |
Custom Coding Help - This is a strange one...
... Hi All,
I am using Bananalive's "Easy Forms" for two listing threads, displayed on the forum. I have and still continue to use this on 3.8 and it works perfectly on there. The problem is with 4.0.3 PL1. (Currently a test board duplicate of my 3.8 board). But I am waiting to upgrade my live 3.8 to 4.0.3 PL1. I have, changed the codes to the vb4 style. I have even had BA help as much as he can. On one forum/thread, it worked, but not 100%, the problem I have is with a custom search facility that I have done. I could use whole or partially keywords to search anywhere in the posts a member has made and would only bring up the one post. (Ie full or partial post/zip code business name etc). On the vb4 it brings up all the posts listed and the one that I searched for (even with the full name used) is one of the last to be displayed. The second forum, at first, didn't work at all, not even when I rebuilt the search index, all of a sudden it worked the same as the one mentioned above. Again 100% as it should. I have been in my admin and checked that all new posts are listed etc. I have even done a test post and the same thing happens to that with regard to search. All of the above will work (Not correctly) if I do a search on the Full Name but nothing on a partial name etc. (Does on vb3.8). Has anyone got any ideas on why this is like this? And better still, on how I can correct this so that it works as it should like it does on vB3.8, please? If you need to view it through a URL, please PM and I will supply it. I have copied the codes below from the 3.8 version (First, below) and the codes that I have in my 4.0.3 PL1 Version. (Second, Below) Many Thanks for any valuable help and input... --------------- Added [DATE]1276686256[/DATE] at [TIME]1276686256[/TIME] --------------- SHOWTHREAD 3.8 Code: Code:
<tr> 3.8 Code: Plugin: (Easy Forms) Product: Easy Forms Hook Location: newreply_form_start Title: Easy Forms Reply Button. Execution Order: 5 Plugin PHP Code: Code:
if (in_array($threadinfo[threadid], array(1000))) Plugin: (Easy Forms) Product: Easy Forms Hook Location: showthread_complete Title: Enter a name Execution Order: 1000 Plugin PHP Code: Code:
if ($threadinfo[threadid] == 1000) Plugin: (Easy Forms) Product: Easy Forms Hook Location: showthread_complete Title: List a X Execution Order: 999 Plugin PHP Code: Code:
if ($threadinfo[threadid] == 1001) --------------- Added [DATE]1276686420[/DATE] at [TIME]1276686420[/TIME] --------------- SHOWTHREAD 4.0 Code: Code:
<vb:if condition="$threadinfo['threadid'] == 1000"> 4.0 Code: Plugin: (Easy Forms) Product: Easy Forms Hook Location: newreply_form_start Title: Easy Forms Reply Button. Execution Order: 5 Plugin PHP Code: Code:
if (in_array($threadinfo['threadid'], array(1000))) Plugin: (Easy Forms) Product: Easy Forms Hook Location: showthread_complete Title: Enter a name Execution Order: 1000 Plugin PHP Code: Code:
if ($threadinfo[threadid] == 1000) Plugin: (Easy Forms) Product: Easy Forms Hook Location: showthread_complete Title: List a X Execution Order: 999 Plugin PHP Code: Code:
if ($threadinfo[threadid] == 1001) |
Questions regarding modifications should be asked in the modification thread ;)
|
Funnily enough, I have been reading some of your reply posts to some threads. ;)
I am sure a Mod will move it, if it is in the wrong place. :) --------------- Added [DATE]1276693985[/DATE] at [TIME]1276693985[/TIME] --------------- Forgot to add that as it no longer comes as standard in vB4.0.3 PL1, I have added this mod too: https://vborg.vbsupport.ru/showthread.php?t=232538 |
Do you have permission from BA to post his code here? If you don't, I've got to remove it.
|
That Is my code Lynne. Of which BA cast his eye over for me.
BA, suggested that I start a thread on .com - they, in turn sent me here. But Yes, That is my code. (there maybe some from BA in there too - I can't remember) :) I will ask BA if he can pop on here to confirm that though, Lynne - I know is a busy Gent, so please allow me a little time. ** I have Just PM'd BA ** |
Quote:
|
Thank You BA.
|
Anyone, Please?
|
You realize that the search queries have changed between 3 and 4. My guess would be that is your problem there. Try including the old search query to use and see if that is the problem.
|
Hi Lynne,
I have modified the code for the vB4 - that I know of, and BA has helped me too. When I upgraded (test forum) it showed up errors of "Security token etc". Today, I removed the code for the "box" because that didn't work in v4. Is there anything that you can see that would cause this please Lynne? |
All times are GMT. The time now is 03:41 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|