![]() |
|
Mod Options |
![]() |
|||||||||||
Yilmaz - Random Images in Header vB5
![]() Developer Last Online: Jan 2023 ![]() ![]() ![]()
![]() 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. ![]() Download Now Only licensed members can download files, Click Here for more information. Addons Screenshots Show Your Support
No members have liked this post.
|
![]() |
||||
Mod | Developer | Type | Replies | Last Post |
Profile Enhancements Yilmaz - Recent Visitors of the Profiles Module (vb5.6.x widget) | yilmaz | vBulletin 5.x Products & Extensions | 16 | 07 Mar 2022 20:14 |
Show Thread Enhancements Yilmaz - Quote Expander / Collapse vB5 | yilmaz | vBulletin 5.x Products & Extensions | 7 | 06 May 2021 20:01 |
Show Thread Enhancements Yilmaz - Hide [code,php,html] content from guests (vb5.6.x) | yilmaz | vBulletin 5.x Products & Extensions | 25 | 01 Nov 2020 18:51 |
Mini Mods Yilmaz - vb5 GDPR I AGREE | yilmaz | Modification Graveyard | 5 | 29 Jun 2018 15:39 |
Miscellaneous Hacks User Drop Down Icons + Message drop down icons (CSS only) - vb5.2.3/vb5.2.4 | napy8gen | vBulletin 5.x Template Modifications | 13 | 24 Mar 2018 01:34 |
Comments |
#2
|
||||
|
||||
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:
I need to be able to control exactly how it should be displayed. Thank you for your help! ![]() No members have liked this post.
|
#3
|
||||
|
||||
I see this in template.php;
But when I view a page and check it's page source, the replacement of "<div class="toolbar">" isn't taking place... I still find the original "<div class="toolbar">" in the page source and there is no "<img src="core/packages/yilmazrandomimg/img/'" inside the page source at all... If I can get that replacement to work, I can just modify that file to display it like I'm trying to do. No members have liked this post.
Last edited by Pitman; 05 Nov 2020 at 12:54. |
#4
|
||||
|
||||
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
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
__________________
Donations always appreciated. ![]() vByilmaz.com vBulletin-forum.de Nobody has a monopoly on vBulletin templates. Stay away from selfish, self-righteous and parasitic. No members have liked this post.
|
#5
|
||||
|
||||
I updated and added alternative option
__________________
Donations always appreciated. ![]() vByilmaz.com vBulletin-forum.de Nobody has a monopoly on vBulletin templates. Stay away from selfish, self-righteous and parasitic. No members have liked this post.
Last edited by yilmaz; 05 Nov 2020 at 16:34. |
#6
|
||||
|
||||
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. No members have liked this post.
|
#7
|
|||
|
|||
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
No members have liked this post.
|
![]() |
Tags |
in header, random images, vb5.6.x |
«
Previous Mod
|
Next Mod
»
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Mod Options | |
|
|
New To Site? | Need Help? |
All times are GMT. The time now is 11:30.