On these pages are my WordPress plugins, the odd article and my Support Forum.

For my random rantings on everything else please visit my blog at Yellow Swordfish

WP Plugins


Articles

If you find any of my plugins useful, please comsider a donation towards my running costs.

Thank you

In preparation for the release of Simple:Press Version 4.0, the Support Forum has moved to a new site dedicated to the plugin. This will also be the future home for Simple:Press Forum.


Version 3.1.4 will still be available for download here in the short term.


For the support forum - and to visit our new site and to get details of version 4.0, click on the logo to take you to simplepressforum.com

This forum is currently locked - access is read only
Current User: Guest
Please consider registering

 
Search Forums:


 




Modifying “You must be logged in to post”

UserPost

10:19 pm
24 Sep 2008


msafi

Member

posts 27

1

First of all, thanks for the great work. I have tried several WordPress solutions and so far this looks like it's gonna be the best one.

I would like to provide intensive assistance to my website visitors and the information that I will be giving back to them is highly specialized and focused, therefore, I would like to enhance its value by requiring visitors to register in order to be able to view the content of the forums.

In the current setup, when a new unregistered user clicks on “Forum” in the navigation bar, they are greeted by a tiny box that reads “You must be logged in to post.” It would be more user friendly if it read: “Please register to participate in our Dubai Employment Help Forums”

How can I change this?

Thanks a lot,

[UPDATE: after noticing how WordPress handles user registration and logins, I've decided to not require an integration between my blog and my forum. I'll create a separate forum. So I no longer need to use Simple Press.

Thanks again, :)]

8:11 am
25 Sep 2008


Yellow Swordfish

Admin

Peterborough, England

posts 5252

2

I'd be interested to hear your objection…

11:29 am
25 Sep 2008


msafi

Member

posts 27

3

Hi Andy,

For starters, once a user logs in from WordPress they are directed to the site-admin page. You can overcome this with a plug-in such as Redirection, but even then, users still have the ability to access, yourwebsite.com/wp-admin.

Second, you cannot require a password form your users. Plug-ins such as Register Plus are not compatible with Simple: Press Forum.

I saw a moderator on WordPress official forum advice users to turn off the registeration requirement because it doesn't really help the blog. I guess that attitude reveals why WordPress has such a weird implementation of user registeration.

11:53 am
25 Sep 2008


Yellow Swordfish

Admin

Peterborough, England

posts 5252

4

This is the reason that Simple:Press Forum bypasses the WP built in registration and login forms - which as you registered on this site you must have noticed. I too dislike the standard redirect to the new users WP/Admin 'profile' page and felt it was imperative that this was bypassed. This has been a quite popular feature of the forum plugin - I suspect the standard WP implementation is not well liked anywhere!

I am not sure what you are alluding to when you say 'you cannot require a password form your users'. If you are just suggesting that no password is needed from 'rwgistered users' then this is incorrect. If you mean that anyone can access your site without registering then while true it is easily overcome.

2:41 pm
25 Sep 2008


msafi

Member

posts 27

5

Forget what I said. I was drunk. Simple: Press Forum is actually really great and your support is out of this world.

Can we go back to the original question? I want to greet my unregistered users with a customized welcome page that doesn't have “You must be logged in to post” or “There are No Groups defined.”

I just wanna have a little Welcome paragraph with a link to the registeration page.

Thanks for everything.

2:55 pm
25 Sep 2008


Yellow Swordfish

Admin

Peterborough, England

posts 5252

6

I, personally, would do this with a static page that contains your title, text and a link. In the 'Reading' settings (WP - admin) you can select a static page to be the front page - that would do it.

Maybe a little piece of smart code that detects the users cookie to try and discover if they are already a registered user. Or - simpler - leave the page as it is but include the login widget on a sidebar so they can just login instead.

There is also a small plugin available that ensures people must login to see your site although I admit that it is quite old and I am not sure if it still works on later WP versions.

3:00 pm
25 Sep 2008


msafi

Member

posts 27

7

It's only the forum that I want to make exclusive to members. The rest of the site should be publicly available.

Here's the site, just so you know what I mean: http://www.dubaiemploymenttips.com

4:18 pm
25 Sep 2008


Yellow Swordfish

Admin

Peterborough, England

posts 5252

8

I see. then you probably come back to changing the message text which you will find in the file sf-pagecomponents.php

I have been toying with the idea of making all these strings configurable by the user actually wont make V4 though.

There is a new option on V4 to display user defined text pre-registration (and an optional 'accept' button).

6:37 pm
25 Sep 2008


-Radio-

Moderator

Florida - USA

posts 558

9

If you are familiar with theme editing, PHP, and a bit of the wordpress core, it is possible to create a Custom page template for SPF, that tests cookies to see if the user is registered or logged in, if the user is logged in, the template would simply display 'the_content()'… if not, you could simply display your custom message, including a registration/login form…

You could even use a tool like phpexec plugin to put this same test above the forums surounding your custom message where the reminder is there only for unregistered readers, while still allowing everyone the ability to read the forums… (sort of Nag-Ware type reminder)

As for going ahead with another forum, obviously it's your choice.



Reply to Topic: Modifying “You must be logged in to post”

NOTE: New Posts are subject to administrator approval before being displayed

Guest Name (Required):

Guest EMail (Required):

Guest URL (required)

Math Required!
What is the sum of: 2 + 3        (Required)

Topic Reply:


 
 

About the Stuff at Yellow Swordfish forum

Currently Online:

12 Guests

Maximum Online: 71

Forums:

Groups: 3

Forums: 16

Topics: 2068

Posts: 14091

Members:

There are 1003 members

There are 837 guests


Yellow Swordfish has made 5252 posts

Top Posters:

Mr Papa - 1602

-Radio- - 558

ovizii - 114

jfv - 82

angelic007 - 72

Administrator: Yellow Swordfish | Moderators: Yellow Swordfish, Mr Papa, -Radio-


© Simple:Press Forum - Version 3.1.4 (Build 357)