![]() |
I have fixed the logic and fields in the javascript in the modifytimeslips template.
The first part of the template should be as follows.. Code:
<if condition="$vboptions[allowtimeslipupload]"> Modify the xml package (or I can do it for you) and reupload then I'll upgrade it retaining the credit .. prolly should also have some additional credit ;) |
Quote:
this is a weird problem. I can't tell where it comes from. Is any body else having this problem ? |
Another change .. the xml installer needs the following changed ..
Code:
else Code:
else if($check['customtimeslippic']) |
I've modified the xml and reinstalled it but the credits do not show on the bottom .. they are in the template .. maybe cached the old ones ?? Any ideas?
|
Some FYI: If you deleted one of the profile fields for whatever reason, you won't be able to uninstall this product. It will give you a database error because the field is no longer there. You have to remove it from the uninstall code to have it uninstall correctly.
I want Fields 50 and 51 to be drop downs, so I have changed the XML. Seems to work well. |
OK, since things seem to be a little everywhere....
- Download the new attached ZIP file from this thread - Make the changes mentioned in the TXT file from the attached ZIP file - Alter the code in image.php using the changes listed in the header of this thread - Make the change in this post to fix the menu link: https://vborg.vbsupport.ru/showpost....0&postcount=39 - Edit the XML file that comes in the ZIP file as well. Make these changes: https://vborg.vbsupport.ru/showpost....8&postcount=63, then upload it as a product from your Admin CP. EDIT: - Also while you're in the Admin CP, change the template "modifytimeslips" (it's in "Modify User Option Templates") - follow the instructions here: https://vborg.vbsupport.ru/showpost....7&postcount=61 (thanks for the heads up Sidewindr) I'm using the patched version of vB3.5.3 and everything is working great after doing these things. |
Did you update the javascript in the modifytimeslip template so that the timeslip image/link enforcement works ?? :)
https://vborg.vbsupport.ru/showpost....7&postcount=61 |
OH, ya I got that done too. Must've missed it when going back and forth looking for links, but I remember it taking a couple of minutes to find the "modifytimeslips" template.
I've added it to the list above, so hopefully everyone should be good to go. |
Quote:
|
Some more .. I have refined the checking in the modifytimeslip template..
Here's the new code for the javascript at the top .. Code:
<script language="javascript"> If timeslip uploads are allowed it will accept wither an uploaded image or a valid url to an image. :D If anyone wants the fixed xml installer PM me :D or I can attach it here if ok with deathemperor or I can send it to him :D |
All times are GMT. The time now is 04:07 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:
|