Home >> Discussion Board
 

Search

Login Form



Smart Bookmarker V1.0

Welcome, Guest
Please Login or Register.    Lost Password?

the login page doesn't appear?
(1 viewing) (1) Guest
Go to bottomPage: 12
TOPIC: the login page doesn't appear?
#128
the login page doesn't appear? 11 Months, 2 Weeks ago Karma: 0
Hi and compliments for the excellent job!

I've installed smart blog and all runs smoothly a part from when I'm not logged in and I hit Add New Post. It sends me to an odd semi-empty page.

www.newtreedesign.com/theregentbar.co.uk...=blog&Itemid=132

How can I fix this?

Any help much appreciated, thanks.

Paolo
paquito
Fresh Boarder
Posts: 6
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#132
Re: the login page doesn't appear? 11 Months, 2 Weeks ago Karma: 1
hi
pls find this page
components/com_blog/views/addpost/view.html.php, Line no : 33

Replace this line
$link = JRoute::_('index.php?option=com_user&view=login&return='.base64_encode(JRoute::_('index.php?option=com_blog&view=blog',false)), false);

with

$link = JRoute::_('index.php?option=com_user&view=login&Itemid=139&return='.base64_encode(JRoute::_('index.php?option=com_blog&view=blog',false)), false);

And
components/com_blog/views/comments/tmpl/default.php Line no : 126

<a href="<?php echo JRoute::_('index.php?option=com_user&view=login&return='.base64_encode(JRoute::_('index.php?option=com_blog&view=comments&pid='.$this->BlogPostList->id,false)), false);?>"><?php echo JText::_(PLEASE_LOGIN_TO_WRITE_COMMENT );?> </a>

with

<a href="<?php echo JRoute::_('index.php?option=com_user&view=login&Itemid=139&return='.base64_encode(JRoute::_('index.php?option=com_blog&view=comments&pid='.$this->BlogPostList->id,false)), false);?>"><?php echo JText::_(PLEASE_LOGIN_TO_WRITE_COMMENT );?> </a>
devadmin
Admin
Posts: 51
graph
User Offline Click here to see the profile of this user
Last Edit: 2009/09/28 00:03 By devadmin.
The administrator has disabled public write access.
Aneesh S,
R&D Team, Aarthika Technologies (P) Ltd, Kerala,India
www.aarthikaindia.com
 
#133
Re:the login page doesn't appear? 11 Months, 2 Weeks ago Karma: 0
Hello and thanks very much for your help. I've tried to make the changes you've kindly suggested, but the Add Post still sends me to the same empty page if clicked.

If you have a look at the address bar and check the address were the button sends you it seems to redirect to the right place:

www.newtreedesign.com/theregentbar.co.uk...login&Itemid=132

but immediately after it switches to the empty page sending you at the address:

www.newtreedesign.com/theregentbar.co.uk...YmxvZyZJdGVtaWQ9MTMy

Could you please let me know if you know why this is happening?


Another thing: is it possible to allow not-logged in visitors to leave comments only on the blog?

Thank you very much
paolo
paquito
Fresh Boarder
Posts: 6
graphgraph
User Offline Click here to see the profile of this user
Last Edit: 2009/09/28 06:29 By paquito.
The administrator has disabled public write access.
 
#134
Re:the login page doesn't appear? 11 Months, 2 Weeks ago Karma: 1
hi
i can't get u r site. pls make it online.
devadmin
Admin
Posts: 51
graph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
Aneesh S,
R&D Team, Aarthika Technologies (P) Ltd, Kerala,India
www.aarthikaindia.com
 
#135
Re:the login page doesn't appear? 11 Months, 2 Weeks ago Karma: 0
Sorry, my mistake.

It should be online now.

Thanks
p
paquito
Fresh Boarder
Posts: 6
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#138
Re:the login page doesn't appear? 11 Months, 2 Weeks ago Karma: 1
hi, i missed one thing

components/com_blog/views/addpost/view.html.php line No : 33

$link = JRoute::_('index.php?option=com_user&view=login&return='.base64_encode(JRoute::_('index.php?option=com_blog&view=blog',false)), false);

Replace with

$link = JRoute::_('index.php?option=com_user&view=login&Itemid=139&return='.base64_encode(JRoute::_('index.php?option=com_blog&view=blog',false)), false);
devadmin
Admin
Posts: 51
graph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
Aneesh S,
R&D Team, Aarthika Technologies (P) Ltd, Kerala,India
www.aarthikaindia.com
 
Go to topPage: 12