![]() |
PHP Code:
|
With regards to the Similar Articles issue, this is what I have got now, but it is giving me a big headache :
PHP Code:
But if not, an extra AND will be appended to the query..... so for e.g, a title like "Review of the Nvidia Nforce Chip" That would fail, since the last word Chip consists of only 4 characters. how could I go about this ? So close yet so far... My head is spinning ..... :( |
Here i am again to offer the solution..
remove this if entirely: if ($j < $countsimiliar-1) and add the and argument after each call condition. then, just before $similarquery = $similarquery.$similarquery2; add $similarquery2 = substr($similarquery2, 0, -4); |
I really appreciate your help rake , really sorry I need to impose on you.
[high]* cinq worships rake ;) [/high] I will try that code in post 34 soon. |
No problem. I'm glad i am able to help. Just post if you need more advice. :)
|
Quote:
It works ! :D:D:D:D |
I just realised this: that AND should actually be OR
|
Quote:
Hi nathan :) I am sorry but I do not intend to make those 2 features you suggested default for this hack. But in the future, they may come as add-ons to this hack. As it is, I hope to wrap up the current feature set I have in mind and push it out for beta testing :) |
Quote:
Actually, that's where I am trying to add a WYSIWYG editor to the add article page ( which should only be accessible to the admin for now because it should allow uploads of the image ). However I have yet to find a suitable textarea replacement, as mentioned on the first few posts of this thread. I have just found that SPAW actually accepts dynamic image libraries which can be put to use but then, I cannot seem to get it to work ( the includes ) on my localhost... :( |
Quote:
Sorry rake, but I don't quite get your code ... ( noob here :( ) but your solution could potentially teach me how to deal with handling queries in nested while loops ( which I keep using now ..... ) could you take the time to explain this to me, please ? :) |
All times are GMT. The time now is 11:17 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:
|