vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=246)
-   -   Mini Mods - Random Side Banners Outside Main Body in Fixed Position (https://vborg.vbsupport.ru/showthread.php?t=290404)

deltamarkets 05-03-2016 12:25 PM

Hello,

We are the new oweners of a vbulletin board. I try install your mod but I m stuck in uploading the xml file. Can you or someone help me with this?

CAG CheechDogg 05-03-2016 12:49 PM

There is no xml file for this mod ....

MarkFL 05-03-2016 02:57 PM

1 Attachment(s)
Quote:

Originally Posted by CAG CheechDogg (Post 2569409)
Go ahead and handle business Mark ... release it for all to enjoy my Man ...

I wanted you to retain authorship of this, since you put everything together. I have simply taken your work and made it into a product, where no manual template edits are needed.

The user has the option to disable it, and to define the dimensions of the banners, and the margins between the banners and the body.

Please review this, let me know of any changes you would like, and then when you are happy with it, release it as a mod rather than a template modification. :)

CAG CheechDogg 05-03-2016 07:13 PM

Quote:

Originally Posted by MarkFL (Post 2570072)
I wanted you to retain authorship of this, since you put everything together. I have simply taken your work and made it into a product, where no manual template edits are needed.

The user has the option to disable it, and to define the dimensions of the banners, and the margins between the banners and the body.

Please review this, let me know of any changes you would like, and then when you are happy with it, release it as a mod rather than a template modification. :)

Did you put the option to use this mod as well so that they could use it more easily?

https://vborg.vbsupport.ru/showthrea...mages&page=137

So they could do the following?

Find this:

Code:

<div class="left-banner"></div>
<div class="right-banner"></div>

Replace with this:

Code:

<div class="left-banner"><!--@vbbanners:0@--></div>
<div class="right-banner"><!--@vbbanners:2@--></div>

MarkFL 05-03-2016 09:17 PM

No, I didn't know about that...I just used the HTML from the first post in the thread. It looks like an HTML comment, so I could simply add it to the HTML already being added, and it they need it it's there, if not it doesn't hurt anything...right? :)

MarkFL 05-03-2016 09:35 PM

1 Attachment(s)
In order to offer the greatest flexibility, I added two settings, consisting of textareas into which the user can enter the exact HTML they want for the left and right banners. The default values are what you have given in your first post, and then they can add to that or edit it as they see fit. :)

scottkoz20 06-09-2017 12:02 AM

this modification is going to allow me to re-design the look of my site entirely

Love this!

CAG CheechDogg 06-11-2017 07:50 PM

Glad you like it ... post your site's link so we can see the before and after ... if you don't mind that is lol ...

scottkoz20 06-23-2017 01:27 AM

will do - I have start work on my dev enviroment

dev.sportscardforum.com - still needs work in order to get it ready to move over...


All times are GMT. The time now is 12:57 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01039 seconds
  • Memory Usage 1,730KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (9)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete