Alfa1 |
06-08-2009 03:16 PM |
Quote:
Originally Posted by AndrewD
(Post 1825659)
again, a character has gone astray.
Edit the Links and Downloads Manager - Spider external urls plugin attached to the ldm_linkbit_create hook. It starts off with a line
Code:
if (links_defaults['spider_urls_active'] and substr($linkurl,0,4)=="http") {
There should be a dollar sign $ immediately before links_defaults, i.e.
Code:
if ($links_defaults['spider_urls_active'] and substr($linkurl,0,4)=="http") {
|
Thanks. That fixed it.
Quote:
Originally Posted by AndrewD
(Post 1825663)
It's doing a match of the thread title against the entry title and description, not on the content of the file.
|
Even though most of my thread titles are descriptive, they will always contain words that do not relate to the topic. For example: 'What is xxx?' 'How can you do xxx?' 'a question about xxx'
Would it be possible to have the addon take tags into account?
Quote:
Originally Posted by AndrewD
(Post 1825671)
When Google visits your site, it does so as an unregistered user. Unless you have enabled the Jukebox for unregistered users, the links will not be there for Google to see.
|
Where do I check this setting?
Quote:
Originally Posted by AndrewD
(Post 1825671)
Does Google actually index urls with long "?action=xxx..." params? Do you need a search engine optimiser? (I don't know)
|
I think this is indeed needed.
Quote:
Originally Posted by AndrewD
(Post 1825681)
You should edit the Links and Downloads Manager - Patch forumhome stats plugin that is attached to the forumhome_complete hook. Find the lines:
Code:
$template_hook['forumhome_wgo_stats'] .= "
<div>
$vbphrase[ldm_links_database] $vbphrase[ldm_categories]: $totalcats, $vbphrase[ldm_entries]: $totallinks$totalspace, $vbphrase[ldm_comments]: $totalcomments
</div>
";
and change it to (e.g.)
Code:
$template_hook['forumhome_wgo_stats'] .= "
<div>
<a href='".LINKS_SCRIPT."'>$vbphrase[ldm_links_database]</a> $vbphrase[ldm_categories]: $totalcats, $vbphrase[ldm_entries]: $totallinks$totalspace, $vbphrase[ldm_comments]: $totalcomments
</div>
";
|
<a href='".LINKS_SCRIPT."'> does not work for me as that points to /local_links instead of /local_links.php So I used the full url instead. I tweaked the code to use this:
Code:
$template_hook['forumhome_wgo_stats'] .= "
<br><div>
<a href='http://www.mysite.com/forum/local_links.php'>Files</a>: $totallinks$totalspace, $vbphrase[ldm_comments]: $totalcomments, $vbphrase[ldm_categories]: $totalcats
</div>
";
Quote:
Originally Posted by AndrewD
(Post 1825681)
I deliberately avoided giving this plugin many features, because it requires loading all the LDM code base and can involve carrying out quite heavy database queries, which will increase the cost of viewing the forum home. So the answer to your question is "yes in principle" but I would be reluctant to make this an easy/reliable feature of the plugin.
|
Thats understandable. I guess my LDM has grown so big, that I have come to a point where I need multiple instances of LDM, to handle each section.
My members keep getting confused whether they are in the video, the documents or the audio section and are uploading to the wrong parts. For this reason I would 3 different category selectors on the upload page. So that it will not be possible to choose a category in the video section, if one is in the document section. Do you see a possibility for me to accomplish this or something similar?
Quote:
Originally Posted by AndrewD
(Post 1825681)
Not currently. Again, I have tried to keep integration with other parts of vb limited, so as to keep down the cost of running (and maintaining :)) LDM.
|
Showing the latest files is possible within a vba module and on forum home. I am not that technical, but can you please explain why the same already coded functionality would not work on search.php? Is there anything that I can do toget it working?
|