|
|
|
Yanc subscribe
|
|
Date: 2005/11/17 09:31
|
By: lw_d
|
Status: User
|
|
|
Karma: 0  
|
|
Fresh Joomlapolitan  | Posts: 20 |   | |
|
I love Yanc, so glad it is integrated with CB, I was wondering if it is possible to give the user the option of subscribing to a newsletter at the registration page?
This would be very cool and something that I have been looking for for a long time.
|
|
The administrator has disabled public write access. |
|
|
|
Re:Yanc subscribe
|
|
Date: 2005/11/17 17:14
|
By: beat
|
Status: Admin
|
|
|
Karma: 238  
|
|
Admin  | Posts: 3990 |   | |
|
Yes, in RC2 you can choose the newsletters for registration in the backend : plugins -> yanc -> parameters (multi-clickable list of all newsletters visible there) Beat - Developer on Community Builder core Team - If you like CB and this forum, you will love Nick's CB 1.1 reference manual ! : Click here to Get it now  - Would like to help us move faster ? Get it, and/or help us spend more time coding by helping others in this forum, many thanks
|
|
The administrator has disabled public write access. |
|
|
|
Re:Yanc subscribe
|
|
Date: 2005/11/18 01:08
|
By: crash777
|
Status: User
|
|
|
Karma: 0  
|
|
Junior Joomlapolitan  | Posts: 37 |   | |
|
|
You can subscribe/unsubscribe in the profile page and when you first register, you can also subscribe!
|
|
The administrator has disabled public write access. |
|
|
|
|
Re:Yanc subscribe
|
|
Date: 2005/11/18 01:09
|
By: lw_d
|
Status: User
|
|
|
Karma: 0  
|
|
Fresh Joomlapolitan  | Posts: 20 |   | |
|
This gets better.
Thanks, you made my day.
|
|
The administrator has disabled public write access. |
|
|
|
Re:Yanc subscribe
|
|
Date: 2005/11/19 04:55
|
By: Kevin
|
Status: User
|
|
|
Karma: 1  
|
|
Fresh Joomlapolitan  | Posts: 10 |   | |
|
The YaNC plug in is fantastic. Here is a note on it though some others may be interested in. This bug is logged over at the joomla dev:
http://developer.joomla.org/sf/go/artf2182?nav=1
Its small, but worth mentioning that you should hide the YaNC subscribe module to users who are logged into your site. Why? You can not subscribe using YANC subscribe module if logged in through CB2. Some may ask why would you want to anyway. Response, is that if it is a feature on your site, then it should work, so its better to just remove it when logged in. To clarify, I'm talking about the YaNC subscribe module that is unrelated the the CB2 tab for YaNC.
I hope this helps someone else. Everything else on YaNC and CB2 is killer.
- kevin
|
|
The administrator has disabled public write access. |
|
|
|
|
Re:Yanc subscribe
|
|
Date: 2005/11/24 14:33
|
By: joomladude
|
Status: User
|
|
|
Karma: -3  
|
|
Senior Joomlapolitan  | Posts: 74 |   | |
|
Hi Guys, I've found the following code on a discussion forum and it hides the module when a person is logged in as a member and it really works:
You will need to create a module position that only displays if a user is not logged in. You can use the '$my->gid', variable to do it. In the backend, create a position that you want to use for this (I'll use 'notlogged' here).
Now insert the following code into your template where you want the Yanc module to be displayed.
| Code: | <?php if ( (mosCountModules( 'notlogged' ) > 0) and ($my->gid =='0') ) { ?>
<table > Any appropriate html here for your template
<tr>
<td>
<?php mosLoadModules ( 'notlogged' ); ?>
</td>
</tr>
</table>
<?php }; ?>
|
Now go to backend and change the Yanc module's posigion to "notlogged". And that's all.
All the credit goes to "Gram" from Mambo Portal Team.
E.
|
|
The administrator has disabled public write access. |
|
|