![]() |
Can a form be created to allow users to add links, but not going into too much detail as the add link form currently does, i.e. just a description, url and name of site ? no other settings, they would be added on moderation?
|
Andrew - here is the includes file I Pm'd you about. I know it's sloppy and I don't know what I'm doing, but here it is anyways. :)
For anyone else who's curious, I am adding a lot of .jpg's to my site using the "Scan" function, and I wanted the hack to automatically create a thumbnail whenever I added a .jpg. Andrew was going to do it, but I decided to try it myself. It is expandable to other file types by modifying the preg_match string pattern. |
Quote:
Code:
<if condition="$linkmod">..</if> |
Why did all my dates get set with todays date when upgrading?
Now everything is f*ckedup in "latest links"... |
Quote:
|
any way to import the 3.0 links into this new 3.5 links hack?
|
why is there so many damn files included and its so unorganized i couldnt even figure out what is what to try to install this
|
where does it install the database tables ? i ran the product after uploading all the files and now it says its missing a table in the database
|
Quote:
|
Quote:
There are so many files because during the last year, people have asked for so many options. |
Quote:
|
Quote:
|
Quote:
Error Number : 1146 it might be i am doing something wrong |
Quote:
If you did - and if it seemed to run ok - send me a pm with details of your forum url, plus an admin account and pwd, and I'll gladly take a look |
Is there a 3.5 gold release on the way?
|
Quote:
I dont see why this happend really and now all "order by date desc" that is my default is just crazy and same thing on vBadvanced where i use a module showing newest files/links. |
2.04 is working perfectly for me under 3.5 gold ;)
|
Quote:
|
Quote:
I took a look at your site, and don't understand - linkdates seem ok to me - you've got five files uploaded two days ago and the rest earlier. This is the link I used to check http://forum.directconnect.se/links....mit=250&sort=d Am I looking at the wrong place? |
Quote:
How can 23/02/2004 be before 16/07/2005 ? Why doesnt the file with 16/07/2005 show up at Whats new when files from 22/05/2005 are shown? http://forum.directconnect.se/links....links&catid=-8 Is it me beeing drunk or is the date-stamps wrong? Edit: I see now that the timestamp for when it was posted is updated when you Edit a file, dont think that is necessary or is it? |
Quote:
Easiest solution is to add an additional configuration parameter so that the code does or does not make this adjustment during an edit. |
Quote:
or maybe even to fields, one for added date and one for last edited... |
Quote:
|
I have uploaded version 2.0.5 as the new supported release, tested with VB 3.5.0 Gold. This has some minor changes to the beta version uploaded a few days ago.
Grateful for reports, as always. Changes from 2.0.4 (those marked * are changes from beta 2.0.5): + rating/comments system extended to allow users to make multiple comments (one rating) + option included to update existing permissions when *default_forumid* is changed on admin page + users with *can_set_display_order* permission see the display orders in the linkbit + category forum links to work both ways category<=>forum + 'advanced search' added, e.g. to limit searches to certain categories * option in edit link to retain or update the original timestamp + interface provided for vbAdvanced 2.0 = layout of category home page modified to provide better overview = admin/settings and admin/permissions split into two pages = various bugs fixed changes to default sort order work properly another attempt to deal correctly with changes to category forum links another attempt to deal correctly with category display orders cached missing template (styleselect) phrasing tidied up - removed support for obsolete vbindex interface |
In the vbAdvanced modules the header of the module has an incorect link to local_links.php, look below to fix.
ldm-new.php Line 91 change this Code:
$hottitle = '<a href="'.$vbulletin->options['homeurl'].'/'.LINKS_SCRIPT.'.php">'.'New Links'.'</a>'; Code:
$hottitle = '<a href="'.$vbulletin->options['bburl'].'/'.LINKS_SCRIPT.'.php">'.'New Links'.'</a>'; ldm-hot.php Line 91 change this Code:
$hottitle = '<a href="'.$vbulletin->options['homeurl'].'/'.LINKS_SCRIPT.'.php">'.'Hot Links'.'</a>'; Code:
$hottitle = '<a href="'.$vbulletin->options['bburl'].'/'.LINKS_SCRIPT.'.php">'.'Hot Links'.'</a>'; Also was there a reason you changed the links_hotlinks template in your 2.05 beta to this version From this Code:
<tr> Code:
<a href="$vboptions[bburl]/local_links.php?action=jump&id=$linkid" target="_blank">$linkname</a> ($linkhits)<br /> |
Quote:
Quote:
Will revert to the beta layout if you think this is better. |
I started to wonder if I was just being opinionated in my comment of the template, I have attached the old (beta template) and the new template for your own opinion, I honestly think the old beta one looks classier. See what you think.
|
Quote:
|
Quote:
Is the uninstall/install better or should i use install and use overwrite / no overwrite? |
Quote:
The only tricky situation with the new VB system is when an install only partly completes, and VB thinks it has finished the job. This is because installation code is only executed when the VB installer thinks it is installing a higher version. So if , e.g. (for any reason) you have part-installed version 2.0.5, then to complete the job you have to uninstall and start again. |
Quote:
|
Quote:
|
Quote:
|
Quote:
Since i use the category as a filename, lets say "miranda" and then post a link for each version "miranda 1.0", "miranda 2.0" etc i want all hits to be collected together inside that category so i use the following code as SQL, other then that there is no changes made to the original "ldm-hot.php" PHP Code:
if the filter is "WHERE link.linkmoderate = 0" it gives a error which it shouldnt, or am i just blind |
Quote:
well here is the code for links_hotlinks if you want a 2 column module, and also dont forget to edit module to use 2 in colspan. PHP Code:
EDIT: i dont know what the intension was of using a both linkstatus==1 and linkstatus>1 but i guess it has to do that at one of them you can also show filesize if i recall right. |
Im on fire tonight! :P
Sorry for trippleposting but i want to keep each feature/bug in a new post. Shouldnt ldp-new.php use the current link instead to show "Whats New" when you click on the header. $hottitle = '<a href="'.$vbulletin->options['bburl'].'/'.LINKS_SCRIPT.'.php?action=links&catid=-8">'.'New files'.'</a>'; |
After debugging and editing for half an hour this is my last feedback for today.
It is impossible to run both new and hot at the same time, probably because they use same variablenams etc. What i had to do was to rename everything with "hot" in ldm-new.php to "new", after that i duplicated one styles for each "links_hotlinks" and "links_newlinks", and also "adv_portal_custom_ldm_hot" and "adv_portal_custom_ldm_new". I removed the <tr><td><span> $hotlinks </span></td></tr> part from the "adv_portal_custom_ldm_hot" since i wanted to use more then one colulmn and or row per file, and added the part with <tr><td><span> <a href> ... </a></span></td></tr> in "links_hotlinks" instead. Did same thing for the "_new"-versions. This also removes the need to use $hottitle, $collapseobj_custom_ldm and $collapseimg_custom_ldm, since they can now be set in the template instead. This is my $0.05, now its saturday night here and time to party! :P |
Quote:
|
Quote:
Your easrlier equstion about $linkstatus = 1 or >1 - the variable is positive if the link is good, and >1 if it should be treated as a file size - maybe I should have used two variables but I was a bit lazy at one point |
Quote:
Maybe not the best solution but would work and phrases wouldnt be changed after an upgrade as styles do. |
All times are GMT. The time now is 06:54 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:
|