vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Mini Mods - Hide Version Number. Updated with hiding the version everywhere automatically. (https://vborg.vbsupport.ru/showthread.php?t=235252)

borbole 04-02-2010 01:29 PM

@aaronrand, @badawidollah, you are welcome guys :)

@joyboy200, did you enable the mod after you installed? It works fine on every version of the 4X version, until now.

Mastergumble 04-19-2010 01:19 AM

Humm, its hiding the @ year too...

borbole 04-19-2010 06:07 PM

Quote:

Originally Posted by Mastergumble (Post 2023517)
Humm, its hiding the @ year too...

Fixed. The year now it is shown.

synseal 04-19-2010 10:29 PM

I had a message from vbulletin after installing this modification, please read.

Quote:

Greetings- re: http://www.mysite.org/

It has come to our attention that all or part of the legally-required vBulletin copyright information has been removed or hidden from the footer template of your forum and as such contravenes the vBulletin License Agreement. You can read the License Agreement here:

http://www.vbulletin.com/order/license_agreement.php

The footer template must contain, at least, the following, it must be in English, and it must be readily visible:

Powered by vBulletin
Copyright ? 2010 vBulletin Solutions, Inc.

Please restore the missing information: Please restore the date to the copyright. If you have removed the date for security reasons, just the current year satisfies the legal requirement.

If you do not wish to display the vBulletin copyright information, you may opt to purchase the Branding Free option. The 'Branding Free' license is available at a cost of $170 per license and only applies to a single site/license. To purchase this log into the Members Area, click on 'Renewal/New Purchases', then 'Continue' to get to the Branding Free option.

http://www.vbulletin.com/members/

Once you have purchased this option, you will have the right to remove the vBulletin/vBulletin Solutions copyright info from the footer template. Note that this is for one license only and is in addition to the cost of the license. If you ever transfer this license, the branding free option will transfer with it.

Also please be aware that you must retain all copyright notices within the actual product programming code (these notices do not affect any visible vBulletin pages) and this does not allow you to re-brand the software with another name. It only allows you to remove the vBulletin/vBulletin Solutions copyright information.

(You may remove the logo and replace it with your own without purchasing the branding free option, but not the copyright information.)

Please take action to rectify the infringement within 28 days in order that the way forward can be determined. Please note that addressing the matter will prevent the possibility of the license being revoked, following which a new license will be necessary to continue running your vBulletin. In this eventuality, appropriate action may be taken by our copyright enforcement agency in accordance with DMCA rules. Thank you for taking care of this promptly.

All the best,
Marlena Machol
Links Submissions, vBulletin

http://www.vbulletin.com/

I have had to uninstall this mod because it hides the year 2010, just letting you know and others to prevent them getting the same notification from vbulletin.

Look forward to this being updated to conform with the legally-required vBulletin copyright information being shown then I will install it again.

Many thanks.

borbole 04-20-2010 10:33 AM

Now it is fixed. The year is shown as it can be seen at the new screenshot attached under the first post. Thank you for letting me knowing about this :)

Mastergumble 04-22-2010 11:53 AM

Tkx =)

synseal 04-22-2010 07:07 PM

Thats grand, working fine now, Thank you!

borbole 04-23-2010 09:27 AM

You are welcome guys :)

Boofo 07-16-2010 06:57 AM

Here is a way to do the manual template edits from the first post via a plugin:

Hook Location: parse_templates
Title: headinclude version removal

Plugin PHP Code:

PHP Code:

require_once(DIR '/includes/adminfunctions_template.php'); 

// Remove version from showing when viewing page source  
$find1 trim(preg_replace('#^\$final_rendered = \'(.*)\';$#s''\\1'compile_template('var SIMPLEVERSION = "{vb:raw vboptions.simpleversion}"')));  
$replace1 trim(preg_replace('#^\$final_rendered = \'(.*)\';$#s''\\1'compile_template('var SIMPLEVERSION = ""'))); 

$find2 trim(preg_replace('#^\$final_rendered = \'(.*)\';$#s''\\1'compile_template('<meta name="generator" content="vBulletin {vb:raw vboptions.templateversion}" />'))); 
$replace2 trim(preg_replace('#^\$final_rendered = \'(.*)\';$#s''\\1'compile_template('<meta name="generator" content="vBulletin" />'))); 

$vbulletin->templatecache['headinclude'] = str_replace($find1$replace1$vbulletin->templatecache['headinclude']); 
$vbulletin->templatecache['headinclude'] = str_replace($find2$replace2$vbulletin->templatecache['headinclude']); 


borbole 07-17-2010 01:11 PM

Quote:

Originally Posted by Boofo (Post 2069927)
Here is a way to do the manual template edits from the first post via a plugin:

Hook Location: parse_templates
Title: headinclude version removal

Plugin PHP Code:

PHP Code:

require_once(DIR '/includes/adminfunctions_template.php'); 

// Remove version from showing when viewing page source  
$find1 trim(preg_replace('#^\$final_rendered = \'(.*)\';$#s''\\1'compile_template('var SIMPLEVERSION = "{vb:raw vboptions.simpleversion}"')));  
$replace1 trim(preg_replace('#^\$final_rendered = \'(.*)\';$#s''\\1'compile_template('var SIMPLEVERSION = ""'))); 

$find2 trim(preg_replace('#^\$final_rendered = \'(.*)\';$#s''\\1'compile_template('<meta name="generator" content="vBulletin {vb:raw vboptions.templateversion}" />'))); 
$replace2 trim(preg_replace('#^\$final_rendered = \'(.*)\';$#s''\\1'compile_template('<meta name="generator" content="vBulletin" />'))); 

$vbulletin->templatecache['headinclude'] = str_replace($find1$replace1$vbulletin->templatecache['headinclude']); 
$vbulletin->templatecache['headinclude'] = str_replace($find2$replace2$vbulletin->templatecache['headinclude']); 



Thank you for posting this :) I had totally forgotten to include the edits for the templates in a plugin.


All times are GMT. The time now is 05:03 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
  • Page Generation 0.01198 seconds
  • Memory Usage 1,771KB
  • 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_php_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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