The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#31
|
||||
|
||||
![]() PHP Code:
![]() |
#32
|
||||
|
||||
![]()
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 ..... ![]() |
#33
|
||||
|
||||
![]()
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); |
#34
|
||||
|
||||
![]()
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. |
#35
|
||||
|
||||
![]()
No problem. I'm glad i am able to help. Just post if you need more advice.
![]() |
#36
|
||||
|
||||
![]() Quote:
It works ! ![]() ![]() ![]() ![]() |
#37
|
||||
|
||||
![]()
I just realised this: that AND should actually be OR
|
#38
|
||||
|
||||
![]() 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 ![]() |
#39
|
||||
|
||||
![]() 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... ![]() |
#40
|
||||
|
||||
![]() 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 ? ![]() |
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|