By Mangesh Sambare on Thursday, 03 April 2014
Posted in General Issues
Replies 10
Likes 0
Views 1.1K
Votes 0
Hello,

I have configured EasyDiscuss to allow comments only from registered users. When a guest user views a discussion and scrolls to the comments section, he sees a "Register Here" button which allows him to register on the site and comment.

When the guest user clicks on the "Register Here" button, he is redirected to the Joomla Registration Page. I want to change the link of the page....

What I am trying to do is that instead of the user being redirected to the Joomla registration page, I intend to open the registration page / module in a lightbox. I am not sure if EasyDiscuss has this functionality? In case not, I will use a 3rd party module to open the registration page in a lightbox on click of the "Register Here" button. All I need is the place (file name and line number) where I can change the behaviour of the "Register Here" button.

Regards,
Mangesh
Hello,

I am really sorry for the delay of this reply as it is a weekend for us here. Please find the answers below:


1. There is a "Create an account" link in the Welcome Module of EasyDiscuss - Need the file name and line number

Edit the file /modules/mod_easydiscuss_welcome/tmpl/default.php at line 146


2. There is a "Register" link in the login block adjacent to the "Register Here" button block (please see the snapshot) - Need the file name and line number

Edit the file /components/com_easydiscuss/themes/simplistic/form.reply.login.php at line 35
·
Sunday, 06 April 2014 16:13
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Mangesh Sambare,

Sorry for late reply to this,
Unfortunately we do not have the lightbox function to pop-up the register form when you click the "Register Here" button.
You can find the file from JoomlaFolder\components\com_easydiscuss\themes\simplistic\form.reply.login.php
LINE 26

<a href="<?php echo DiscussHelper::getRegistrationLink();?>" class="btn btn-success mt-10"><?php echo JText::_( 'COM_EASYDISCUSS_REGISTER_HERE' );?></a>

Hope this help.
·
Thursday, 03 April 2014 23:16
·
0 Likes
·
0 Votes
·
0 Comments
·
Thanks Arlex,

Appreciate your response. Will give you a bump in case I need any additional information on this topic.... Hopefully, I should be able to manage it from here on

Regards,
Mangesh
·
Thursday, 03 April 2014 23:33
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Mangesh,

Looking forward to hear from you.

Please be advise.
Thanks.
·
Thursday, 03 April 2014 23:57
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello:

I finally figured a way to open the "Registration Page" in a LightBox.

I need to call the below mentioned code when the button is clicked:

<a href="#" class="pwebbox403_toggler">Register Here</a>

The text "Register Here" is actually the button text.... I am unclear as to how do I merge this code with the code highlighted above (<a href="/<?php echo DiscussHelper::getRegistrationLink();?>" class="btn btn-success mt-10"><?php echo JText::_( 'COM_EASYDISCUSS_REGISTER_HERE' );?></a>)

Can you please guide....

Regards,
Mangesh
·
Saturday, 05 April 2014 15:53
·
0 Likes
·
0 Votes
·
0 Comments
·
Gee....

I guess the above text is all formatted..... Pasting both the code snippets below.

Regards,
Mangesh
·
Saturday, 05 April 2014 15:56
·
0 Likes
·
0 Votes
·
0 Comments
·
Ok... This one, I got it figured out. Added the class pwebbox403_toggler to the earlier code snippet....

<a href="/<?php echo DiscussHelper::getRegistrationLink();?>" class="btn btn-success mt-10 pwebbox403_toggler"><?php echo JText::_( 'COM_EASYDISCUSS_REGISTER_HERE' );?></a>   


With this, all works well.
·
Saturday, 05 April 2014 17:55
·
0 Likes
·
0 Votes
·
0 Comments
·
Sorry guys but I need the location of 2 more links so that I can have uniformity in the site:

1. There is a "Create an account" link in the Welcome Module of EasyDiscuss - Need the file name and line number
2. There is a "Register" link in the login block adjacent to the "Register Here" button block (please see the snapshot) - Need the file name and line number

Thanks and regards,
Mangesh
·
Saturday, 05 April 2014 18:06
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Mark:

Thanks a ton Sincerely appreciate your help. I have managed to successfully open all those "register" / "create an account" links in a lightbox

Regards,
Mangesh
·
Sunday, 06 April 2014 17:26
·
0 Likes
·
0 Votes
·
0 Comments
·
You are most welcome Glad that your issues are resolved now.
·
Sunday, 06 April 2014 17:39
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post