vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.8 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=235)
-   -   Add-On Releases - Google Adsense Privacy Policy (AJAX) (https://vborg.vbsupport.ru/showthread.php?t=222190)

TheSupportForum 08-31-2009 10:00 PM

Google Adsense Privacy Policy (AJAX)
 
1 Attachment(s)

Google Adsense Privacy Policy

Description: Webmasters/Site owners who currently use Google Adsense on there site need have a Privacy Policy for that shows Guests and Registered Users what information is being held about them

this is now part of Googles Legal Document that is required if you are using vBulletins Adsense Version

To Activate Advertising Integration: Google AdSense Click here to activate




Instructions:


Submit it to Google at http://www.google.com/addurl.html.
Submit a Sitemap using Google Webmaster Tools. Google uses your Sitemap to learn about the structure of your site and to increase our coverage of your webpages.
Make sure all the sites that should know about your pages are aware your site is online.

== CHANGELOG ===
29/09/2009

- replaced Google Adsense Image
this was a requirement, mentioned in
http://code.google.com/apis/adsense/terms.html
Listed Under AdSense API Client Development and Distribution
Logo Use Restrictions
this was missed by mistake

PM OR post a thread for suggestions on version 4


Requirements:


Template Modification System 1.1.5 (you must have this otherwise the template edit for footer will not work amongst other issues)

This wil not work without Template Modification System 1.1.5

Javascript Must Be Enable

Browser Support :
? Firefox: 3.5.3
? Netscape
? Internet Explorer: 8.0.6001.18813
? Safari 2.0.3 (Mac)


we are proud to announce VB4 Version available
HERE

IN ORDER TO DOWNLOAD YOU WILL NEED TO REGISTER
CLICK HERE TO NOMINATE or MARK AS INSTALLED

TheSupportForum 09-01-2009 01:06 AM

xx Reserved for Updates xx

i offer full support for this product and if you have any suggestions to implementing other material with this please suggest and will be added to next release

Developement
Verson 4 will be developed within the next couple of months due to other projects



this is current being tested on my site at http://www.tutorials4you.co.uk/privacy_policy.php

ShawneyJ 09-01-2009 09:07 AM

i actually already made my own vb page but good thinking mate ;)

I guess the instructions are:
1.upload "privacy_policy.php" to forum root folder.
2.upload product "product-Adsense-Privacy-Policy.xml"
go to vbulletin options>>T4U Privacy Policy Settings>>On
and then access your new page by going to: yourdomain.com/privacy_policy.php
?????
EDIT: just gave it a test but just get a blank white page.
Privacy Policy On/Off = on
mysite.com/privacy_policy.php = blank white page.

Question: after uploading the xml file, is this meant to create a template??
because i cant find any new templates.

TheSupportForum 09-01-2009 10:18 AM

Quote:

Originally Posted by jaycob (Post 1877659)
i actually already made my own vb page but good thinking mate ;)

I guess the instructions are:
1.upload "privacy_policy.php" to forum root folder.
2.upload product "product-Adsense-Privacy-Policy.xml"
go to vbulletin options>>T4U Privacy Policy Settings>>On
and then access your new page by going to: yourdomain.com/privacy_policy.php
?????
EDIT: just gave it a test but just get a blank white page.
Privacy Policy On/Off = on
mysite.com/privacy_policy.php = blank white page.

Question: after uploading the xml file, is this meant to create a template??
because i cant find any new templates.

to add a pruduct you do the following

1. Login to Admincp
2. Scroll down to Plugins and Product
3. Click on Manage Products
4. Click on Add/Import Product
5. go to section Import Product
where it says
EITHER upload the XML file from your computer
Click Browse for product-Adsense-Privacy-Policy.xml
Select File then click Open

if you are not able to do this, PM me your admin details i will do this product upload for you

Serenity278 09-01-2009 11:03 AM

Am getting a blank page too. http://www.christianfellowship-net.c...acy_policy.php

ShawneyJ 09-01-2009 11:20 AM

Quote:

Originally Posted by simonhind (Post 1877690)

if you are not able to do this, PM me your admin details i will do this product upload for you


i was actually telling others how to install as your zip never came with instructions ;)

zelnik 09-01-2009 12:06 PM

Doesn't work.. Just get a white blank page when you click on the link.

If you delete the privacy.php file it says file no found so it's definitely reading it.

Serenity278 09-01-2009 12:32 PM

It's working now.

TheSupportForum 09-01-2009 12:33 PM

ISSUE NOW RESOLVED

PLEASE DOWNLOAD NEW VERSION, REMOVED OTHERS AND INCLUDED INSTALL INSTRUCTIONS

THNAK YOU jacob i found the bug already and fixed it myself thats why it already worked on my site

zelnik 09-01-2009 12:43 PM

Thanks working now but suffers from the same problem as the other one from macro

https://vborg.vbsupport.ru/showpost....3&postcount=14

Could you fix this small bug please?

Thanks

TheSupportForum 09-01-2009 12:53 PM

Quote:

Originally Posted by zelnik (Post 1877744)
Thanks working now but suffers from the same problem as the other one from macro

https://vborg.vbsupport.ru/showpost....3&postcount=14

Could you fix this small bug please?

Thanks

this has been fixed

all you need to do is turn it on in admincp

zelnik 09-01-2009 12:59 PM

1 Attachment(s)
Quote:

Originally Posted by simonhind (Post 1877754)
this has been fixed

all you need to do is turn it on in admincp

Sorry you misunderstood.

The underscore continues from mod to privacy policy

It should look like "archive - top"

Serenity278 09-01-2009 01:27 PM

Quote:

Originally Posted by zelnik (Post 1877744)
Thanks working now but suffers from the same problem as the other one from macro

https://vborg.vbsupport.ru/showpost....3&postcount=14

Could you fix this small bug please?

Thanks

You know you can make it to where your style doesn't have underlines for the links. I have mine like that so it doesn't have that problem and I think it looks better like that anyways.

gorentals 09-01-2009 02:34 PM

Cool Mod. Installed but getting

Uncached templates: T4U_Temp (1)

and then when I am on the privacy page I get this at the bottom

Uncached templates: T4U_Temp (1)
Uncached templates: T4U_privacy (1)

How do I fix this?

Also it only shows up for myself and mods. Users can't see the link at all.

TheSupportForum 09-01-2009 03:48 PM

Quote:

Originally Posted by gorentals (Post 1877809)
Cool Mod. Installed but getting

Uncached templates: T4U_Temp (1)

and then when I am on the privacy page I get this at the bottom

Uncached templates: T4U_Temp (1)
Uncached templates: T4U_privacy (1)

How do I fix this?

Also it only shows up for myself and mods. Users can't see the link at all.

if you have vbseo installed this could be casuing the problem, you will need to contact them about this, this is also a problem with the following browsers

http://support.microsoft.com/kb/234067

please read REFERENCES SECTION

TheSupportForum 09-01-2009 04:56 PM

Quote:

Originally Posted by zelnik (Post 1877760)
Sorry you misunderstood.

The underscore continues from mod to privacy policy

It should look like "archive - top"

if you are getting this issue then its your footer template that is an issue
i currently have 1 issue with a custom template i am trying to sort out

Floris 09-01-2009 05:57 PM

He says, help contribute, because I am new to this .. basically.
Then later he says, if you can't get it to work, give me your login and I will install it for you. While .. it was a bug ..

Eh - no thanks. I will never share my admin rights with someone, especially, new to coding vb plugins. No offense, just posting this as a fair warning to others who participate in this thread.

That said, good start, and I will wait a bit longer before using this on my live site, so bugs can be fixed, etc.

Floris 09-01-2009 05:58 PM

Please learn vBulletin a bit more, uncached templates are your product problem, and has nothing to do with the link you provided or whatever.

Floris 09-01-2009 06:00 PM

Code:

define('THIS_SCRIPT', 'privacy');
This should be the filename, minus the .php

If your file is privacy_policy.php, then that should be

Code:

define('THIS_SCRIPT', 'privacy_policy');

Floris 09-01-2009 06:02 PM

In the footer of your php file you have this:

Code:

eval('print_output("' . fetch_template('T4U_privacy') . '");');
But in the header you have this:

Code:

$globaltemplates = array(
    'privacy',
);

Please make sure it is either one or the other.

Cache the right template, and name it correctly.

Important tip of a plugin release for the public: take your time to write it, test it, read through it, and get help during development.

Floris 09-01-2009 06:06 PM

And I looked at the .xml file, all the English text is in there, it doesn't remote grab it from Google, (so always outdated version), so I rather have this as a group of phrases.

This way it can be translated for the arab, france, etc forums, who might have different rules for Adsense due to country laws, etc.

The text is currently hard coded.

TheSupportForum 09-01-2009 06:07 PM

Quote:

Originally Posted by Floris (Post 1877909)
Code:

define('THIS_SCRIPT', 'privacy');
This should be the filename, minus the .php

If your file is privacy_policy.php, then that should be

Code:

define('THIS_SCRIPT', 'privacy_policy');

thanks for pointing that out, i have just updated it locally, will upload this to mods soon

TheSupportForum 09-03-2009 11:24 PM

i am currently looking for someone to help develope phrases for each section of this MOD, if someone can help create a language file this would be helpful

TheSupportForum 09-05-2009 12:27 PM

Current Developements:

Version 3 is now available to download

changelog is now located here

Playa82 09-07-2009 04:31 PM

nice hack, but how can i change the width ? see screenshot:

https://vborg.vbsupport.ru/external/2009/09/59.jpg

TheSupportForum 09-07-2009 07:53 PM

in order to change width open SpryAssets/SpryTabbedPanels.css

Change

Code:


.TabbedPanels {
margin: 0px;
padding: 0px;
float: left;
clear: none;
width: 100%; /* IE Hack to force proper layout when preceded by a paragraph. (hasLayout Bug)*/
}

to

Code:


.TabbedPanels {
margin: 0px;
padding: 0px;
float: left;
clear: none;
width: 95%; /* IE Hack to force proper layout when preceded by a paragraph. (hasLayout Bug)*/
}


does this help

Playa82 09-08-2009 03:59 PM

as i said in your pm. no, sorry. still the same problem. btw. i use firefox 3.5.2

TheSupportForum 09-08-2009 09:39 PM

spry content panels only work in IE not firefox

i will look into a fix for firefox

Playa82 09-09-2009 04:06 PM

i got the same problem with IE...

LCN2007 09-18-2009 02:28 AM

Great Hack but this is breaking my template can you help me sort this please.

http://www.localcobalt.net/forum/privacy_policy.php

TheSupportForum 09-18-2009 05:15 AM

Quote:

Originally Posted by LCN2007 (Post 1886771)
Great Hack but this is breaking my template can you help me sort this please.

http://www.localcobalt.net/forum/privacy_policy.php

you havent uploaded everything, please upload the folder as well to your forum url

Simon Lloyd 09-18-2009 10:02 AM

Quote:

Originally Posted by zelnik (Post 1877760)
Sorry you misunderstood.

The underscore continues from mod to privacy policy

It should look like "archive - top"

Its the way its been coded in the xml, the coder replaces the mod link with mod and T4U so they appear together.

The simple solution is to go to your plugin manager and disable this T4U Privacy Policy its the bit of code that parses the Mod link to add the policy link, once you have done that simply go to vbulletin options>Site Name / URL / Contact Details>Privacy Statement URL and enter http://www.yoursite.com/forum/privacy_policy.php replacing yoursite with your domain and forum with your forums folder name.

TheSupportForum 09-18-2009 11:09 AM

Quote:

Originally Posted by Simon Lloyd (Post 1886901)
Its the way its been coded in the xml, the coder replaces the mod link with mod and T4U so they appear together.

The simple solution is to go to your plugin manager and disable this T4U Privacy Policy its the bit of code that parses the Mod link to add the policy link, once you have done that simply go to vbulletin options>Site Name / URL / Contact Details>Privacy Statement URL and enter http://www.yoursite.com/forum/privacy_policy.php replacing yoursite with your domain and forum with your forums folder name.

A Privacy statement is different than a privacy policy
1 - is an agreement we abide by meaning your own forum
2 - is information for customers to understand what is expected of you as a browser or registered member

Simon Lloyd 09-18-2009 01:04 PM

Simon, its simply a work around as you coded the link to be parsed along with the mod link, however a fix from you would be very much appreciated :)

EDIT: of course you can search in phrases for privacy_statement and change the default text to Privacy Policy :)

TheSupportForum 09-18-2009 08:54 PM

Quote:

Originally Posted by Simon Lloyd (Post 1886957)
Simon, its simply a work around as you coded the link to be parsed along with the mod link, however a fix from you would be very much appreciated :)

EDIT: of course you can search in phrases for privacy_statement and change the default text to Privacy Policy :)

Simon Lloyd?

what type of fix do you want, i can remove the plugin that creates the template parse
whats easy, if you are looking for me to do something else please list in detail what you are looking for i will get on with it

Simon Lloyd 09-18-2009 11:09 PM

Quote:

Originally Posted by simonhind (Post 1887220)
Simon Lloyd?

what type of fix do you want, i can remove the plugin that creates the template parse
whats easy, if you are looking for me to do something else please list in detail what you are looking for i will get on with it

Just to fix the part that introduces the link to the footer, you need to do it without removing and then re-adding the mod link, its a great mod with a minor but irritating bug!

The fixes i've explained here i've used on my site but i'd much rather the mod be complete :)

LCN2007 09-18-2009 11:48 PM

Quote:

Originally Posted by simonhind (Post 1886811)
you havent uploaded everything, please upload the folder as well to your forum url


Doh!!! Ok now I uploaded everything and did the upgrade to the latest version.

But its still breaking my template and now there is no link in the bottom of the site pages?

TheSupportForum 09-19-2009 12:17 AM

Quote:

Originally Posted by LCN2007 (Post 1887297)
Doh!!! Ok now I uploaded everything and did the upgrade to the latest version.

But its still breaking my template and now there is no link in the bottom of the site pages?

3.1.0 i snow the latest version i suggest you try it

dont forget to activate it in admincp

LCN2007 09-19-2009 12:18 AM

I have it activated in the admincp, but no link at the bottom of the site.

http://www.localcobalt.net/forum/privacy_policy.php

TheSupportForum 09-19-2009 12:26 AM

Quote:

Originally Posted by LCN2007 (Post 1887303)
I have it activated in the admincp, but no link at the bottom of the site.

http://www.localcobalt.net/forum/privacy_policy.php

the link will only appear to registered members
have you downloaded my new version 3.1.0 ?


All times are GMT. The time now is 04:54 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.01574 seconds
  • Memory Usage 1,849KB
  • 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
  • (8)bbcode_code_printable
  • (16)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)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