![]() |
Yilmaz - Random Images in Header vB5
1 Attachment(s)
A simple api plug.
I uploaded it to review and try. This could be improved. Demo Video https://www.youtube.com/watch?v=0oyc8AaJ9GI ======================================== How to install: Installation video https://www.youtube.com/watch?v=wX2T2GXjaIk ======================================== Upload the content of "Yilmaz - Random Images in Header vB5" to your root. that's all it. enjoy.. ======================================== How to uninstall: ======================================== 1. Remove the package "yilmazrandomimg" that located in /core/packages/ 2. Go to "Manage Products" in the admincp and delete the product named "Yilmaz - Random Images in Header vB5" Please Mark as Installed if you use this. :) Donations always appreciated. :up: |
I've uploaded the files, imported the product and even saved the default settings to be sure... But I don't get any changes to the templates\styles that I can see right off hand.
How would I go about using the URL of the random image within a template? Example URL: Code:
http://www.example.com/core/packages/yilmazrandomimg/img/1.jpg Thank you for your help! :) |
I see this in template.php;
Code:
$yilmazrandomimg_find = '<div class="toolbar">'; If I can get that replacement to work, I can just modify that file to display it like I'm trying to do. |
I tested it from Version 5.4.5 to Version 5.6.4 it worked without any problems.
This code should be in the header template Code:
<div class="toolbar"> If it is not installed automatically, do manual installation if it is not. Go to [Add/Import Product] the /core/packages/yilmazrandomimg/xml/product_yilmazrandomimg.xml file on your computer. Installation vidoe https://www.youtube.com/watch?v=wX2T2GXjaIk |
|
Not compatible with PHP 7.4.15 (5.6.4 PL1 fresh install)
As is, the logo disappears in all my styles under PHP 7.4.15 Warning: Use of undefined constant logo - assumed 'logo' (this will throw an Error in a future version of PHP) in .../packages/yilmazrandomimg/api/template.php on line 28 Warning: Use of undefined constant powered_by_vbulletin_title - assumed 'powered_by_vbulletin_title' (this will throw an Error in a future version of PHP) in .../packages/yilmazrandomimg/api/template.php on line 28 [16-May-2021 01:50:28 UTC] Warning: Use of undefined constant powered_by_vbulletin_title - assumed 'powered_by_vbulletin_title' (this will throw an Error in a future version of PHP) in /home/xxxxxx/public_html/xxxxxxx/core/packages/yilmazrandomimg/api/template.php on line 28 Fixed by myself on PHP 7.4.15. |
Is there a way to make the URL that clicking the banner leads to, change depending on the banner? (Or is there a different version of this mod that does this) as that would be infinitely useful for custom adverts
|
All times are GMT. The time now is 02:46 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:
|