Home arrow Forum how to patch joomla login to the JSMF login link?
  Welcome, Guest. Please login or register.
Did you miss your activation email?
December 05, 2008, 12:01:11 PM
Home New Posts Search Calendar


Login with username, password and session length
+  Joomla Forum
|-+  Joomla Hacks
| |-+  Joomla-SMF Forum Support
| | |-+  Joomla-SMF 2.0.x (Moderators: -Wolverine, kai920)
| | | |-+  how to patch joomla login to the JSMF login link?
0 Members and 1 Guest are viewing this topic. « previous next »
Pages: [1] Go Down Print
Author Topic: how to patch joomla login to the JSMF login link?  (Read 925 times)
ivytony
Joomla Newbie
*

Karma: +0/-0
Offline Offline

Posts: 21


View Profile
how to patch joomla login to the JSMF login link?
« on: January 15, 2007, 06:01:23 PM »

I found it is kind of complex to describe what I mean by patching joomla to the JSMF login link. Let me put this question in this way:

In the 'global configuration' of my joomla backend, I set 'show unauthorized link' to 'Yes' so that the content titles are visible to regular visitors, but when (s)he clicks the title or 'read more'link, they will be prompted a window that requires them to login/register to view the particular content they want to read. However, in the item list page under a certain category, the titles are not linkable, but have a 'Register to read more... ' link  following the titles(see http://www.panda-greatwall.com/chinese-characters/index.php for details). When a regular visitor clicks the 'Register to read more...' link, thon (s/he) is redirected to the joomla  registration page which cannot be found (http://www.panda-greatwall.com/registration/register.html), because the joomla registration system was disabled due to the use of cb registration.

My site (joomla + smf) has community builder and JSMF 2.0 final installed, I am wondering how to patch the joomla login/registration to JSMF login/registration link which, in my case, should be http://www.panda-greatwall.com/your-profile/registers.html .

I am not so sure whether I made myself understood or not. Maybe I need to post this in Community builder forums???

thanks a lot!
« Last Edit: January 15, 2007, 06:04:39 PM by ivytony » Logged
-Wolverine
Moderator
Joomla Guru
*****

Karma: +376/-34
Offline Offline

Posts: 3393


Lead Developer


View Profile WWW
Re: how to patch joomla login to the JSMF login link?
« Reply #1 on: January 18, 2007, 05:10:04 PM »

If you can find the code that creates the link and paste it here I can show you what to change.
Logged

Need help?  Check Here First!
Get the JSMF User Guide
SEARCH this forum.
lindsey
Joomla Newbie
*

Karma: +2/-3
Offline Offline

Posts: 25


At Least Nixon Resigned


View Profile WWW
Re: how to patch joomla login to the JSMF login link?
« Reply #2 on: January 19, 2007, 12:08:27 PM »

you may need to hack the core file which created the Register to Read More link and change it to target the CB registration and login. That link should be easy to determine if you're using the CB Login Module, it would give you the link whenever you are logged out, then you could just hardcode it into the file....

does this make sense or did I just confuse you more?

here's your current registration link
http://www.panda-greatwall.com/registration/register.html

here's what you need it to be http://www.panda-greatwall.com/your-profile/registers.html

so find the file in your file manager and change the target to the link

Logged


Pages: [1] Go Up Print 
« previous next »
Jump to:  



Login with username, password and session length

Powered by MySQL Powered by PHP Joomla Forum | Powered by SMF 1.1 RC1.
© 2001-2005, Lewis Media. All Rights Reserved.
Joomla Bridge by JoomlaHacks.com
Valid XHTML 1.0! Valid CSS!

Joomla Hacks is a Joomla Components, Joomla Modules, Joomla Templates, & Joomla Mambots resource portal. None of the text or images in this public website may be copied without the expressed written consent of the authors. Copyright 2005 by JoomlaHacks.com. Powered by Joomla. All rights reserved.
Terms of Use
Joomla Hacks



Joomla Hacks
German Lang French Lang Italian Lang Spanish Lang Japanese Lang Chinese Lang
Search Contact About Advertise Blogs Topsites Submit News Register Login