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 02-19-2010 02:00 PM

Quote:

Originally Posted by kho91 (Post 1985937)
its not working in the cms page

Quote:

Originally Posted by sd2310 (Post 1986268)
Definitely, this CMS causes a lot of issues. It only remains to edit directly the phrase: remove Version {1} from powered_by_vbulletin. I didn't find others methods.

I changed the hook back to parse_templates and not it should hide the version at the cms pages as well. Download the updated file and let me know how it will go. Sorry for the inconvienance.

ascott 02-19-2010 02:19 PM

Top job borbole, works in the CMS as well :up:

motorola 02-24-2010 06:10 PM

Installed !
Thanks

borbole 03-26-2010 07:00 PM

You are welcome guys :)

borbole 03-30-2010 12:33 PM

Instructions to remove the version from showing at the page source were added at the very first post of this topic.

Hikikomori 03-30-2010 03:50 PM

Quote:

Originally Posted by vale4u31 (Post 1982797)
well, nice one but let me tell u something , it's not hide the version number in the archive , i hope u will fix this :)

Same question, any plans to remove it from the archive? :cool:

borbole 03-30-2010 03:56 PM

I will look into it as soon as I will have some free time.

aaronrand 03-30-2010 08:47 PM

Beautiful, thank you

joyboy2001 04-01-2010 04:04 AM

not working for 4.0.2 ...

badawidollah 04-01-2010 09:07 AM

installed
thanks

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.

Bellethiel 07-30-2010 09:19 PM

Hm have you found a way to hide the version number in the archive yet? It would be nice if that would be included in this mod.

borbole 09-10-2010 07:33 PM

Quote:

Originally Posted by Bellethiel (Post 2076986)
Hm have you found a way to hide the version number in the archive yet? It would be nice if that would be included in this mod.

I just did that. Now it hides the version at the archives as well and therefore the version is hidden everywhere automatically. The first post is updated with the new mod file and a screenshot of the version removed at the archive.

lubbie 09-17-2010 02:08 PM

Very Nice. Thanks. Installed

borbole 09-18-2010 12:25 PM

Quote:

Originally Posted by lubbie (Post 2099641)
Very Nice. Thanks. Installed

You are welcome :)

elwachiman 09-19-2010 04:19 PM

nice working in vb4.0.7 tnks

DAMINK 09-20-2010 08:47 AM

Cheers borbole.
Works great mate.

borbole 09-20-2010 01:11 PM

Glad to hear it guys. Thank you for your feedbacks/comments :)

Alecsmith 09-26-2010 06:03 AM

Working with 4.0.7 thanks :)

theoutlawed 09-28-2010 04:37 AM

Simple and saved me some time from editing it out. Thanks!

borbole 09-28-2010 01:38 PM

You are both welcome :)

BadgerDog 11-05-2010 03:09 PM

Imported and installed on v4.04pl1 ...

Thanks ... :)

Badger

doobiefillin 11-14-2010 04:43 PM

not working on 4.0.8

davidg 11-22-2010 05:55 PM

yes is not working with 4.0.8 i confirm

sulasno 12-16-2010 03:08 AM

using this hack to check the current version

https://vborg.vbsupport.ru/showthread.php?t=255054

there is an error;

demonfatal 01-02-2011 12:36 PM

Borbole, Great mod except your forgot to hide the vB version in the ACP login page...
So everybody can see it...

borbole 01-10-2011 06:18 PM

Quote:

Originally Posted by demonfatal (Post 2142712)
Borbole, Great mod except your forgot to hide the vB version in the ACP login page...
So everybody can see it...

You can rename the acp directory ;)

doobiefillin 01-12-2011 03:48 PM

any updates? not working with 4.1 for me

borbole 01-12-2011 07:39 PM

Quote:

Originally Posted by doobiefillin (Post 2148083)
any updates? not working with 4.1 for me

It works fine for vb 4.1 as well. You can see it at my own forum.

http://www.forumservices.eu/

Da-Vinci 01-12-2011 07:44 PM

Just installed it on 4.1.0 PL2 and it works perfectly.

Installed and rated 5.

davidg 01-13-2011 04:03 PM

works with latest vbulletin thank you :-)


All times are GMT. The time now is 06:45 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.02670 seconds
  • Memory Usage 1,835KB
  • 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
  • (10)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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