Members: 16,996
Threads: 38,831
Posts: 159,349
Online: 40

Newest Member: Kl_broka@rediffmail.com


Odoo.tv - Outdoor Television


Sedo - Domains kaufen und verkaufen das Projekt mambers.com steht zum Verkauf Besucherstatistiken von mambers.com etracker® Web-Controlling statt Logfile-Analyse

Go Back   Mambers.com > Archive > Mambo 4.5 > Mambo 4.5 'How Do I' Questions

 
 
LinkBack Thread Tools Display Modes
Old 28.12.2004, 23:46   #1 (permalink)
Junior Mamber
 
Join Date: Sep 2004
Posts: 41
mamboduck is on a distinguished road
Default Intro text for anyone, Full text for registered only

here I am again, with a new question for you:

I would like to show 'intro text' to everybody... but 'full text' just to registered users.

so, when someone clicks on the 'Read more' link:
a) if he is logged in, the full text appears...
b) if don't, Mambo will say something like 'if you are registered please login to read the full text, if don't register now!

I know there's a mambot called 'MosRegistered' but it doesn't work

I will appreciate any suggestion...

Bye and... heppy new year!
mamboduck is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Sponsored Links
Old 29.12.2004, 09:03   #2 (permalink)
Junior Mamber
 
Join Date: Sep 2004
Posts: 41
mamboduck is on a distinguished road
Default Re: Intro text for anyone, Full text for registered only

We can discuss about profe$$ional help...
mamboduck is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Old 29.12.2004, 12:09   #3 (permalink)
Professional Mamber
 
eyezberg's Avatar
 
Join Date: Apr 2004
Location: Gap / France
Posts: 860
eyezberg is an unknown quantity at this point
Default Re: Intro text for anyone, Full text for registered only

I am very professional
You don't need any bot for this, just edit the articles access level to registered.

Now you can paypal me $5 lol
__________________
joe / ex Mambo ex Doc Team
Eyezberg.com
eyezberg is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Old 31.12.2004, 14:30   #4 (permalink)
Junior Mamber
 
Join Date: Sep 2004
Posts: 41
mamboduck is on a distinguished road
Default Re: Intro text for anyone, Full text for registered only

sorry eyezberg, no donation this time because you didn't read my post carefully

I don't want to hide the entire item, just the second part. see example following:

(public

title title title

intro text intro text intro text intro text intro text
intro text intro text intro text intro text intro text
intro text intro text intro text intro text intro text

[Read More]

Are you registered? If so, please login... If don't register here...

(only for registered

full text full text full text full text full text full text
full text full text full text full text full text full text
full text full text full text full text full text full text
full text full text full text full text full text full text
full text full text full text full text full text full text
full text full text full text full text full text full text
full text full text full text ...

I'm sure you saw it hundreds of times.

Tks for your time and you help!

Ps I'm migrating from 4.5.09 to 4.5.1 so both are available.
mamboduck is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Old 31.12.2004, 17:14   #5 (permalink)
Professional Mamber
 
Join Date: Mar 2004
Posts: 802
jomaco1 is on a distinguished road
Default Re: Intro text for anyone, Full text for registered only

There is already a hack for this, but I don't know where. Have you scoured the repository at Mamboportal.com?
__________________
Mark

Arthur...congrats on the rebuild! Hope it stays clean.

Click HERE to view signature. (If nothing happens at first...keep clicking)
jomaco1 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Old 01.01.2005, 18:58   #6 (permalink)
Junior Mamber
 
Join Date: Sep 2004
Posts: 41
mamboduck is on a distinguished road
Default Re: Intro text for anyone, Full text for registered only

Yes I searched the repository many times...

I founded 'mosRegistered', a mambot that hides text between {mosregistered}{/mosregistered} tags.

It works if text is 'oneline' but if you insert a <P> or <BR> it doesn't work!

For example:

{mosregistered}Text not shown to unregistered users{/mosregistered} <=this works

{mosregistered}
Text
not
shown
to
unregistered
users
{/mosregistered} <= this doesn't work

***
can anyone tell me (paperoz007@yahoo.it) how expensive could be this customization?!

tks, and remember it's still Xmas
mamboduck is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Old 01.01.2005, 20:58   #7 (permalink)
Professional Mamber
 
eyezberg's Avatar
 
Join Date: Apr 2004
Location: Gap / France
Posts: 860
eyezberg is an unknown quantity at this point
Default Re: Intro text for anyone, Full text for registered only

sorry mamboduck, but I did read your post,
if you have an article on the frontpage, which is the only place AFAIK the "read more" link shows up, and access is set to registered, anybody will be able to read what's in the intro on the frontpage, but only registered users can access the main body on the full article page. works for me on 4509 at least..

Just in case, here's your bot, paypal the $5 to troozers..
__________________
joe / ex Mambo ex Doc Team
Eyezberg.com
eyezberg is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Old 01.01.2005, 21:42   #8 (permalink)
Junior Mamber
 
Join Date: Sep 2004
Posts: 41
mamboduck is on a distinguished road
Default Re: Intro text for anyone, Full text for registered only

I set the access to 'registered' and the ENTIRE article disappeared EVERYWHERE: from the frontpage, from the item list in category...

MOSVIEWONLY SHOULD BE THE SOLUTION...

it works fine on my 4.5.09 and does exactly what I need in a easy way...

but...

WORKS if text is something like: {viewonly=registered} blah blah {/viewonly}

and

DOESN'T WORK if text is 'structured' as a normal article.

for example:

{viewonly=registered} blah

blah blah blah

blah {/viewonly}

Any suggestion about how to make it work?

It doesn't matter how complicated it should be

tks again
mamboduck is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Old 01.01.2005, 21:50   #9 (permalink)
Professional Mamber
 
eyezberg's Avatar
 
Join Date: Apr 2004
Location: Gap / France
Posts: 860
eyezberg is an unknown quantity at this point
Default Re: Intro text for anyone, Full text for registered only

Ok, sorry, you're right, I never tried looking at older articles from the category list, it does indeed just say "reg to read".. so ok as long as frontpage, too bad once it's gone.
but frontpage does work 100% (for me), you can see all from the ontro field, and read more directs to access not allowed...

About the bot, I suggest you get in touch with Andy/troozers, very nice guy now part of the Mambo Maintenance Team, he'll help you better'n me...

Good luck, and post the solution if there's one.
__________________
joe / ex Mambo ex Doc Team
Eyezberg.com
eyezberg is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Old 01.01.2005, 21:55   #10 (permalink)
Junior Mamber
 
Join Date: Sep 2004
Posts: 41
mamboduck is on a distinguished road
Default Re: Intro text for anyone, Full text for registered only

any problem has at least one solution

and will be posted here! tks!
mamboduck is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
 

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
mosforms Intro Text sbussinger Mambo 4.5.1 General Talk 6 24.11.2004 17:06
intro text shown on category tables bradley Mambo 4.5.1 'How Do I' Questions 2 26.10.2004 08:08
Full Text Is For Registered Users Only... mamboduck Mambo 4.5 'How Do I' Questions 1 15.09.2004 21:22
Hiding Intro Text on Full Story page tamper Mambo 4.5 'How Do I' Questions 5 12.08.2004 17:05
Show Category Intro Text on blogcategory?! guilokie Mambo 4.5 'How Do I' Questions 0 10.06.2004 12:53


All times are GMT +2. The time now is 15:03.

Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.1.0
A vBSkinworks Design
© Copyright 2004-2008 by Arthur Konze Webdesign.