Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
Yilmaz - Random Images in Header vB5 Details »
Yilmaz - Random Images in Header vB5
Mod Version: 1.1.0, by yilmaz (Coder/Designer) yilmaz is offline
Developer Last Online: Jan 2023 I like it Show Printable Version Email this Page

vB Version: 5.5.5 Rating: (0 vote - 0 average) Installs: 7
Released: 05 Nov 2020 Last Update: 05 Nov 2020 Downloads: 26
Supported Uses Plugins Auto-Template Additional Files  

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

Click image for larger version

Name:	2020.11.05-18_33_20.png
Views:	308
Size:	44.4 KB
ID:	157923  

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • If you like this modification support the author by donating.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Similar Mod
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  
Old 05 Nov 2020, 12:20
Pitman's Avatar
Pitman Pitman is offline
 
Join Date: Dec 2001
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:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

I need to be able to control exactly how it should be displayed.

Thank you for your help!
Reply With Quote
  #3  
Old 05 Nov 2020, 12:46
Pitman's Avatar
Pitman Pitman is offline
 
Join Date: Dec 2001
I see this in template.php;


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

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.

Last edited by Pitman; 05 Nov 2020 at 12:54.
Reply With Quote
  #4  
Old 05 Nov 2020, 13:19
yilmaz's Avatar
yilmaz yilmaz is offline
 
Join Date: Sep 2004
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
Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.


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.
Reply With Quote
  #5  
Old 05 Nov 2020, 13:42
yilmaz's Avatar
yilmaz yilmaz is offline
 
Join Date: Sep 2004
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.

Last edited by yilmaz; 05 Nov 2020 at 16:34.
Reply With Quote
  #6  
Old 16 May 2021, 14:30
lange's Avatar
lange lange is offline
 
Join Date: Apr 2003
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.
Reply With Quote
  #7  
Old 09 Jul 2021, 21:45
SWCForum SWCForum is offline
 
Join Date: Jun 2021
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
Reply With Quote
Reply

Tags
in header, random images, vb5.6.x


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Mod Options

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 11:30.

Layout Options | Width: Wide Color: