Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#31 2009-01-07 08:04:17

jakob
Admin
From: Germany
Registered: 2005-01-20
Posts: 5,192
Website GitHub

Re: [plugin] [ORPHAN] TXPhorum 0.3 / A simple forum solution for Textpattern

Que wrote:

section name to be Discussions, as opposed to txphorum

Go to the plugin pane and edit the plugin code at the top to read as follows. You need to change your sections accordingly if already set up.

function txphorum_mem_preferences($what)
{
	$lang = array(
		'section'             => 'discussions',
		'reply_section'       => 'replies',
		'category'            => 'forum',
		'parent_custom_field' => 'custom1',
	);
	return $lang[$what];
}

apply css styles to the form elements

TXPhorum uses standard articles and you can do that with CSS for your site as normal. I restyled it entirely.

go to the ‘topics listings’ page when you access the ‘Discussions’ section i.e. www.sitename.com/discussions

Perhaps I’m misunderstanding you but doesn’t the standard install do that automatically? Ben’s standard page certainly does.

I advise you to test the setup entirely. I gave ben lots of feedback and some solutions but don’t know if he ever updated the plugin. I remember some of the things that didn’t work included editing posts with special characters or normal apostrophes and editing a reply when you where not the topic starter. You can only test for these if you set up several logins with different names.


TXP Builders – finely-crafted code, design and txp

Offline

#32 2009-02-11 14:33:53

Kreeltje
Member
Registered: 2008-12-23
Posts: 21

Re: [plugin] [ORPHAN] TXPhorum 0.3 / A simple forum solution for Textpattern

Question: When a user registers on my site, he/she gets the following mail:

Username,
You have successfully registered at mysite.com. You can login at http://mysite.com/textpattern/index.php.

Username: Username
Password: *****
Regards,
Webmaster

Is it possible to change this? My self_register_email (in dutch) =

Hallo <txp:mem_name />,

Bedankt voor je registratie op <txp:mem_siteurl />.
Je gebruikersnaam: <txp:mem_username />
Je wachtwoord: <txp:mem_password />

Als je vragen hebt kun je naar het volgende adres mailen

Vriendelijke groet,
<txp:mem_admin_name />
<txp:mem_admin_email />

Looks like this module is not used :-) , so which module is used and where can i find it?

Cheers, Kreeltje

Last edited by Kreeltje (2009-02-11 14:57:33)

Offline

#33 2011-12-14 01:38:36

elwins
Member
From: Latvia
Registered: 2011-08-29
Posts: 80

Re: [plugin] [ORPHAN] TXPhorum 0.3 / A simple forum solution for Textpattern

How to set up IGN correctly, and what version should I use if I have # mem_self_register v0.9.6?

Last edited by elwins (2011-12-14 02:12:58)

Offline

#34 2011-12-14 03:37:38

whaleen
Member
From: Portland
Registered: 2006-05-11
Posts: 373
Website

Re: [plugin] [ORPHAN] TXPhorum 0.3 / A simple forum solution for Textpattern

elwins wrote:

How to set up IGN correctly, and what version should I use if I have # mem_self_register v0.9.6?

Are those plugins both involved in running TXPhorum? I don’t know but a perhaps useful suggestion is that you might consider looking at: cbe_frontauth, mem_self_register, and smd_bio plugins to make your machinery sing.

  • cbe_frontauth instead of ign_password_protect
  • smd_bio uses the txp_users table, so instead of using ign_password_protect’s ign_users table you can achieve the same and more than you could previously plugging into the ign_users table..

and what version should I use if I have # mem_self_register v0.9.6?

Latest release from each perhaps? Sorry I don’t know.


txtstrap (Textpattern + Twitter Bootstrap + etc…)

Offline

#35 2011-12-14 13:52:17

elwins
Member
From: Latvia
Registered: 2011-08-29
Posts: 80

Re: [plugin] [ORPHAN] TXPhorum 0.3 / A simple forum solution for Textpattern

I updated all plugins, and now all working correctly, when I post new Article in forum, then reply messages are making like articles too, but is there some possible way, how to using default TXP comment system set up automatic comment author, respectlly, I log in with IGN_password_protect, and then I Just need to write comment text message, and that comment author is that user, who writed that.

Offline

#36 2011-12-14 18:43:12

whaleen
Member
From: Portland
Registered: 2006-05-11
Posts: 373
Website

Re: [plugin] [ORPHAN] TXPhorum 0.3 / A simple forum solution for Textpattern

elwins wrote:

I updated all plugins, and now all working correctly

That’s great.

but is there some possible way, how to using default TXP comment system set up automatic comment author, respectlly, I log in with IGN_password_protect, and then I Just need to write comment text message, and that comment author is that user, who writed that.

It’s possible. What does the comment form look like? If it’s using mem_form you may be able to load the logged-in ign_user name and email into the name and email values and se the input to hidden leaving you with on the the textarea to write in thus your logged in will be able to make a reply and it will display there name and email as desired.

Again, what does the comment form look like?


txtstrap (Textpattern + Twitter Bootstrap + etc…)

Offline

#37 2011-12-14 18:59:32

johnstephens
Plugin Author
From: Woodbridge, VA
Registered: 2008-06-01
Posts: 1,000
Website

Re: [plugin] [ORPHAN] TXPhorum 0.3 / A simple forum solution for Textpattern

On one site, I used the ign_pwp to detect whether the reader is logged in before leaving a comment, and remove unnecessary fields for logged-in users:

<txp:ign_if_logged_in>
<input type="hidden" value="<txp:ign_user_info type="realname" />" name="name" class="comment_name_input" id="name" />
<txp:else/>
<div <txp:if_cookie>class="comment-cookie"</txp:if_cookie>>
<label for="name" class="label-required">Your name</label>
<txp:comment_name_input />
</div>
</txp:ign_if_logged_in>

<txp:ign_if_logged_in>
<input type="hidden" value="<txp:ign_user_info type="email" />" name="email" class="comment_email_input" id="email" />
<txp:else/>
<div <txp:if_cookie>class="comment-cookie"</txp:if_cookie>>
<label for="email" class="label-required">Your email (will not be published)</label>
<txp:comment_email_input />
</div>
</txp:ign_if_logged_in>

Offline

#38 2011-12-14 19:01:31

johnstephens
Plugin Author
From: Woodbridge, VA
Registered: 2008-06-01
Posts: 1,000
Website

Re: [plugin] [ORPHAN] TXPhorum 0.3 / A simple forum solution for Textpattern

The above code was in the default comment_form comment-type form for that site, and no mem_form tags were used or abused in this instance.

Offline

#39 2011-12-15 10:36:06

elwins
Member
From: Latvia
Registered: 2011-08-29
Posts: 80

Re: [plugin] [ORPHAN] TXPhorum 0.3 / A simple forum solution for Textpattern

<txp:comments_error wraptag="ul" break="li" />
<table cellpadding="4" cellspacing="0" border="0">
<tr><td align="right">
<label for="name"><txp:text item="comment_name" /></label></td>
<td><txp:comment_name_input />
<txp:comment_remember /></td>
</tr>
<tr><td align="right">
<label for="email"><txp:text item="comment_email" /></label></td>
<td>
<txp:comment_email_input />
</td>
</tr>
<tr>
<td align="right">
<label for="web"><txp:text item="comment_web" /></label></td>
<td><txp:comment_web_input /></td>
</tr><tr>
<td align="right">
<label for="message"><txp:text item="comment_message" /></label></td>
<td><txp:comment_message_input />
<div id="comments-help"><txp:comments_help /></div>
</td></tr><tr>
<td></td><td>
<txp:comment_preview />
<txp:comment_submit />
</td>
</tr>
</table>

My form (default COMMENT_FORM)

johnstephens, dunno why, but your form dont work. And I cant find IGN_PWP anywhere.

Last edited by elwins (2011-12-15 10:37:19)

Offline

#40 2011-12-15 11:47:32

uli
Moderator
From: Cologne
Registered: 2006-08-15
Posts: 4,316

Re: [plugin] [ORPHAN] TXPhorum 0.3 / A simple forum solution for Textpattern

elwins wrote:

And I cant find IGN_PWP anywhere.

ign_pwp = ign_password_protect, you’ve installed it already ;)


In bad weather I never leave home without wet_plugout, smd_where_used and adi_form_links

Offline

#41 2011-12-15 13:00:18

johnstephens
Plugin Author
From: Woodbridge, VA
Registered: 2008-06-01
Posts: 1,000
Website

Re: [plugin] [ORPHAN] TXPhorum 0.3 / A simple forum solution for Textpattern

I’m sorry if my comment muddied the waters. The site in which I used that comment form didn’t use TXPhorum.

But having TXPhorum installed shouldn’t prevent the comment form from working, even if though TXPhorum isn’t designed to use comments. Did you call the comment form using a <txp:comments_form /> tag somewhere in article context?

Offline

#42 2011-12-15 13:44:19

elwins
Member
From: Latvia
Registered: 2011-08-29
Posts: 80

Re: [plugin] [ORPHAN] TXPhorum 0.3 / A simple forum solution for Textpattern

yes, if I use originall form, then shows original comment form.

Offline

#43 2011-12-15 14:18:55

johnstephens
Plugin Author
From: Woodbridge, VA
Registered: 2008-06-01
Posts: 1,000
Website

Re: [plugin] [ORPHAN] TXPhorum 0.3 / A simple forum solution for Textpattern

Did you add a comment_message_input? I didn’t copy that part of my code, and the other inputs would be ommitted if you looked at it while logged in.

Offline

#44 2011-12-15 14:47:13

elwins
Member
From: Latvia
Registered: 2011-08-29
Posts: 80

Re: [plugin] [ORPHAN] TXPhorum 0.3 / A simple forum solution for Textpattern

<txp:comments_error wraptag="ul" break="li" />
<txp:ign_if_logged_in>
<input type="hidden" value="<txp:ign_user_info type="realname" />" name="name" class="comment_name_input" id="name" />
<txp:else/>
<div <txp:if_cookie>class="comment-cookie"</txp:if_cookie>>
<label for="name" class="label-required">Your name</label>
<txp:comment_name_input />
</div>
</txp:ign_if_logged_in>
<txp:ign_if_logged_in>
<input type="hidden" value="<txp:ign_user_info type="email" />" name="email" class="comment_email_input" id="email" />
<txp:else/>
<div <txp:if_cookie>class="comment-cookie"</txp:if_cookie>>
<label for="email" class="label-required">Your email (will not be published)</label>
<txp:comment_email_input />
</div>
<label for="message"><txp:text item="comment_message" /></label>
<txp:comment_message_input />
<txp:comments_help /></div>
<txp:comment_preview />
<txp:comment_submit />
</txp:ign_if_logged_in>

If I am logged in, then nothing shows, If I am offline, comment form shows.

Last edited by elwins (2011-12-15 14:47:38)

Offline

#45 2011-12-15 14:50:33

jakob
Admin
From: Germany
Registered: 2005-01-20
Posts: 5,192
Website GitHub

Re: [plugin] [ORPHAN] TXPhorum 0.3 / A simple forum solution for Textpattern

elwins wrote:

when I post new Article in forum, then reply messages are making like articles too, but is there some possible way, how to using default TXP comment system.

I don’t think so. Ben, the TXPhorum author set it up to work that way so if you want to use comments, you’ll have to recode parts of the plugin.


TXP Builders – finely-crafted code, design and txp

Offline

Board footer

Powered by FluxBB