Thread: End-User Options - Community Newsletter Light 1.0.1
View Single Post
  #94  
Old 10-02-2008, 04:15 AM
ade5675 ade5675 is offline
 
Join Date: Mar 2007
Posts: 55
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

**Great hack**
:up:

I have two questions for you or anyone with answers.
One - does it send emails to members that have checked the options NOT to receive emails from admin?
Two - how do you change the bburl title color (in the preview email) to a different color from white. Is it a default vB setting?




FYI ONLY -- I found out once the community letters are sent, each latest member link has an error in it. On the sent email, it shows 404 error page pointing to /member.php?u=2568 and not http://www.yourwebsite.com/member.php?u=2568
After looking around the files, I was able to figure it by going to the product-c_news_letter XML file to add the www.yourwebsite.com/ part in the code below

Code:
</div>]]></template>
		<template name="c_news_letter_latest_memberbit" templatetype="template" date="1220381286" username="gio~logist" version="1.0.0"><![CDATA[<a href="/member.php?u=$member[userid]">$member[username]</a><if condition="$c_news_letter_latest_members_count != '10'">,</if>]]></template>
		<template name="c_news_letter_latest_threadbit" templatetype="template" date="1220601887" username="gio~logist" version="1.0.0"><![CDATA[<div class="smallfont">
<div class="smallfont">


change to
Code:
</div>]]></template>
		<template name="c_news_letter_latest_memberbit" templatetype="template" date="1220381286" username="gio~logist" version="1.0.0"><![CDATA[<a href="http://www.yourwebsite.com/member.php?u=$member[userid]">$member[username]</a><if condition="$c_news_letter_latest_members_count != '10'">,</if>]]></template>
		<template name="c_news_letter_latest_threadbit" templatetype="template" date="1220601887" username="gio~logist" version="1.0.0"><![CDATA[<div class="smallfont">
<div class="smallfont">


It worked for me so I know it is a right fix and I hope it helps others.
Reply With Quote
 
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01263 seconds
  • Memory Usage 1,769KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD_SHOWPOST
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_code
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_box
  • (1)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit_info
  • (1)postbit
  • (1)postbit_onlinestatus
  • (1)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • reputationlevel
  • showthread
Included Files:
  • ./showpost.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showpost_start
  • bbcode_fetch_tags
  • bbcode_create
  • postbit_factory
  • showpost_post
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • showpost_complete