vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.7 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=228)
-   -   Miscellaneous Hacks - Subscription Notifications -- Drive paid subscriptions & renewals (https://vborg.vbsupport.ru/showthread.php?t=179864)

Ted S 12-06-2009 11:13 PM

Quote:

Originally Posted by Budweiser (Post 1926535)
I'm not following your template modification instructions...
You say to Find $header in the template FORUM HOME... but then what??

Then go to the top of the template USER CP... Add the code: $submessage... I got that but why find $header in the template FORUM HOME if there is nothing to edit??
.
.

[qoute]Add the code: $submessage. Save the template and repeat the process for each top level style you have.[/quote]

:confused:

Budweiser 12-07-2009 02:21 AM

Quote:

Step 3) Template Modification

From your Admin Control Panel go to Styles & Templates --> Style Manager and select Edit Templates from the drop down list. Double click the USER CP and/ or FORUMHOME templates option and then double click the template name again to edit it.

Forum Homepage: Find $header in the template FORUM HOME...

User CP Page: Go to the top of the template USER CP...

Add the code: $submessage. Save the template and repeat the process for each top level style you have.

Quote:

Add the code: $submessage. Save the template and repeat the process for each top level style you have. :confused:


I understand what you are saying about repeating the process for each top level style.
When I read the instructions this is what read...

There are two templates that need to be edited for each style.
1: Forum Home Templates>> FORUMHOME
2: User Control Panel Templates>> USERCP

The way I am reading the instructions, it says to go to the FORUMHOME template and find "$header". Am I supposed to add "$submessage" above the "$header" line?

Then the istructions say to go to the USERCP template and add "$submessage" at the top.

Am I reading the instructions incorrectly??
.
.
.

Ted S 12-07-2009 05:08 AM

Yes you are.

Budweiser 12-09-2009 08:59 PM

Quote:

Originally Posted by Ted S (Post 1926659)
Yes you are.

LOL. Yes. I dont know why I read that thing over and over and it wouldn't sink in. I took a couple of days off and came back to it. I should of had a V8!

Anyway. another question which I hope is not too dumb.

I am using this on the USER CP page only and wanted to change the background color for all of the messages that appear there. I added ".alt3 {background:#F8F5A4;color:#222222;}" to my Additional CSS Definitions to change the background color of my notices and forum description area.
I went to $vbphrase[sub_phrase_none] and tried to add <body bgcolor="#F8F5A4"> but it didnt do anything. I also tried <td class="alt3"> It changed some of the background color but messed up the formatting.

I looked but dont know what other template to edit. Is there somewhere I can add <td class="alt3"> to change the background for all of the enabled notifications?

Ted S 12-10-2009 01:44 AM

<body> is the tag used for your entire page.

<td> creates a new table cell.

You're question can be best addressed understanding just a bit of HTML.... www.w3schools.com can help

PVO_Dave 12-28-2009 01:45 PM

Dont suppose you are planning to release this for v4 at all? Would be brilliant if you could use it in one of the forum blocks :)

Ted S 12-28-2009 04:36 PM

vb4 support will be added in the next couple of weeks.

vitrag24 12-31-2009 04:10 AM

need this for vb 4.0
plZ

Ted S 12-31-2009 05:58 AM

Quote:

Originally Posted by vitrag24 (Post 1943129)
need this for vb 4.0
plZ

This modification will be updated down the road... 4.0 is newly released and each mod takes time to update.

wacnstac 12-31-2009 10:49 AM

Yeap, I'm going to need it too.


All times are GMT. The time now is 01:30 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.01355 seconds
  • Memory Usage 1,740KB
  • 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
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (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