News:

Dear forum visitors, if the support forum is not available, please try again a few minutes later. Thanks!

Main Menu
Support-Forum

Recent posts

#1
General / Re: Not able to determine how ...
Last post by ColinM - 27.06.2025 10:18:55
Hi
Could you please explain more. What is a 4chan link? Also I am unfamiliar with 'Force Download start@

Colin
#2
General / Not able to determine how to r...
Last post by recipestay - 26.06.2025 10:20:48
I have a handful of 4chan links in my download list, and they worked perfectly the first time. I'd like to be able to restart the same downloads on another day once fresh postings have been made to those URLs. I tried "Force Download Start", but none of the additional files were grabbed. What to do?

Thank you.
#3
Colin

Thanks for the article, but I do not see how it is related to the missing feature reported above. I have no "htaccess protection" problem and I do not need to show multiple downloads in a single call. Maybe these are interesting news for other users.

As promised I have sent you the modified code of "plugins/content/jdownloads/jdownloads.php" together with some screenshots of my demo site. I hope, this helps to understand and fix the problem.

Regards
Tom
#4
Tom
Thanks for update.  I have just been upating an article about seeting .htaccess protection
Are you aware that the Content Plugin is able to show multiple Downloads in a singlee call?
See article at
https://www.jdownloads.net/documentation?view=article&id=269&catid=30
Colin
#5
Colin
I am not an expert in the field of "Smart Search", but from an observer's point of view I see two general tasks addressed by Smart Search. The first is indexing of the contents. The second is displaying the results of a search. My problem is related to the second task.

I have now modified the file "plugins/content/jdownloads/jdownloads.php" as follows:

  • I have added a public function onFinderResult before the function onContentPrepare
  • I have added into both functions code to write some debug information into a log file so that I can tell what contents (article or search results) triggered what function
  • In public function onFinderResult I have replaced the $result->description per regular expression "#{jd_file (.*?)==(.*?)}#s" and preg_replace_callback and logged the contents of $result->description before and after the replacement.

This is just a "quick and dirty" check of the purpose of the function "onFinderResult", but for a single search hit, it does work. After having introduced this code, the search result does no longer include {jd_file} tags but the contents they are pointing to.

Tomorrow, I will send you the modified code per email. It should be straightforward to find the modifications by running a diff.

Regards
Tom
#6
Tom
I will ask Arno to look at that solution.
Personally I am still of the view that the Joomla Search only indexes new items.  The content Plugin is an edit of an existing article - so not a new item, it is already indexed.

The index will still point to the article.  Joomla is not concerned about the actual contents of the article.
 
So I do not understand what you are trying to do.
Best wishes
Colin
#7
Colin

I think, what is needed is a trigger on the search results. I have searched a bit and found

https://docs.joomla.org/Plugin/Events/Finder#onFinderResult

This plugin/event is evaluated e.g. by sourcerer from regularlabs per public function onFinderResult, but it is not used by jDownloads at all.

To me the name of the event suggests that the corresponding function onFinderResult (if existing) is called before the results of a search are displayed. Maybe this is the missing piece of the puzzle?

Regards
Tom
#8
General / Re: Joomla submenus for catego...
Last post by webenhanced - 23.06.2025 13:57:55
I have sent you a DM in reply.
#9
Could we possibly adapt jDownloads' file management system to resemble a brick-built barbeque grill, where each file is a piece of charcoal and the download link is a sizzling hot dog? A unique and engaging way to navigate our files, wouldn't you agree?
 
 
Контролируйте свою приватность: миксуйте крипту с https://btcmixer.wiki
 и оставайтесь вне зоны слежки.
 
Станьте частью криптосообщества, которому уже доверяют https://netcry.space
! Начните путь к полной анонимности уже сейчас.
#10
Tom
Thanks for input. I am also puzzled!!
You wrote
  ' While "onContentPrepare" is called, when an article including {jd_file} statements is displayed, it is not called when the results (not the articles) of a smart search are displayed that also include {jd_file} statements.'

My understanding of Smart Search is it detects when a new item such as a  Download or an Article is "created" so if an Article or a Downloaded is changed I would not expect Smart searches Plugins to detect such a change. So adding another jd-file in an existing article would not trigger smart search.

But I am unsure!!! Any further thoughts or critic is appreciated.
Best wishes
Colin