Page 2 of 3

Re: Forum Made Simple 0.9.X

Posted: Mon Mar 16, 2009 3:15 pm
by alby
the.star wrote: {cms_module module=CustomContent}
This tag is useless

Why you use Forum with CustomContent?

Alby

Re: Forum Made Simple 0.9.X

Posted: Tue Mar 17, 2009 8:40 pm
by the.star
Dear Alby

The customContent Module was there before and it's needed otherwise I can't publish separate content for the different user groups. The page does not only contain the forum and the forum is only for the employees.

Yesterday and the days before, the forum didn't work and tada, today it worked. Without having ANYTHING changed. I have no idea what happened, but I'm happy it finally works. Thank you Alby for your support.  ;D


{cms_module module=CustomContent}

{if $ccuser->loggedin() && $ccuser->memberof('Customers')}
{cms_module module=FrontEndUsers form='logout'}

Information for customers (content blocks and individual tags)

{* Partners *}
{elseif $ccuser->loggedin() && $ccuser->memberof('Partners')}
{cms_module module=FrontEndUsers form=logout}

Information for partners (content blocks and individual tags)

{* Employees *}
{elseif $ccuser->loggedin() && $ccuser->memberof('Employees')}

{cms_module module="Forum"}

{else}

{cms_module module=FrontEndUsers form=login}

{/if}


Cheers

Sam

Re: Forum Made Simple 0.9.X

Posted: Tue Mar 17, 2009 9:14 pm
by alby
the.star wrote: The customContent Module was there before and it's needed otherwise I can't publish separate content for the different user groups. The page does not only contain the forum and the forum is only for the employees.

Yesterday and the days before, the forum didn't work and tada, today it worked. Without having ANYTHING changed. I have no idea what happened, but I'm happy it finally works. Thank you Alby for your support.  ;D
Very well  :D

For info ONLY: in 0.9.2 you can choose which groups can access or not

Alby

Re: Forum Made Simple 0.9.X

Posted: Thu Apr 16, 2009 9:41 am
by Thelenius
In the post editing templates (new_topic, reply etc) I see this code:

Code: Select all

{$post_bbcodejs_toolbar}
Is this supposed to add a toolbar for inserting bbcode tags? Because there is none. Not in Safari, not in Firefox.

Re: Forum Made Simple 0.9.X

Posted: Thu Apr 16, 2009 11:16 am
by alby
Thelenius wrote: In the post editing templates (new_topic, reply etc) I see this code:

Code: Select all

{$post_bbcodejs_toolbar}
Is this supposed to add a toolbar for inserting bbcode tags? Because there is none. Not in Safari, not in Firefox.
Have you other js in page?
Do you look script tag in source html?
You must install Firebug addon in FF for check what is your error

Alby

Re: Forum Made Simple 0.9.X

Posted: Fri Apr 17, 2009 4:41 pm
by Thelenius
alby wrote: Have you other js in page?
No.
alby wrote: Do you look script tag in source html?
I'm not sure what you mean? The code I wrote about is in your FMS templates.
alby wrote: You must install Firebug addon in FF for check what is your error
I installed Firebug but have no idea how to use it.

Re: Forum Made Simple 0.9.X

Posted: Mon Apr 27, 2009 2:07 pm
by Skunk
This thing is great, it works like a charm.
I have a question though.

I've set the maximum postcount per page to 15 so if there's a topic with 22 posts I have to open the topic first and then click ">" or ">>" to go the the second page where the latest posts are. I've been trying to add a link to the topic title in the forum overview, something like "go to number_of_page/last_page".

{$entry->topic_link} leads me to site.nl/index.php?mact=Forum,m4,topic,1&m4prev_link=default&m4fid=6&m4tid=9&m4post_pagenumber=1&m4returnid=20&page=20.

I figured, if I want a link to the last page, that URL should be altered.
But where can I find the settings for that URL? I mean, where is {$entry->topic_link} defined?

Thanks in advance!

Re: Forum Made Simple 0.9.X

Posted: Thu Apr 30, 2009 1:40 pm
by alby
Thelenius wrote:
alby wrote: Do you look script tag in source html?
I'm not sure what you mean? The code I wrote about is in your FMS templates.
In source html you must see tag (from bbcode_toolbar.php file)

Alby

Re: Forum Made Simple 0.9.X

Posted: Thu Apr 30, 2009 1:41 pm
by alby
Skunk wrote: I figured, if I want a link to the last page, that URL should be altered.
But where can I find the settings for that URL? I mean, where is {$entry->topic_link} defined?
Is in action.topic.php file

Alby

Re: Forum Made Simple 0.9.X

Posted: Mon May 04, 2009 3:20 pm
by Skunk
Thank you. I'll have a look :)

Re: Forum Made Simple 0.9.X

Posted: Wed May 06, 2009 11:06 am
by Thelenius
alby wrote: In source html you must see tag (from bbcode_toolbar.php file)
Do you mean when I view page source in the browser? Nope, no script tag. Here's the source code for the new topic form in its entirety, as seen by the browser:

Code: Select all

<form id="m8moduleform_2" method="post" action="moduleinterface.php">
<div class="hidden">
<input type="hidden" name="mact" value="Forum,m8,new_topic,1" />
<input type="hidden" name="_s_" value="6b9bb99d" />
<input type="hidden" name="m8prev_link" value="new_topic" />
<input type="hidden" name="m8fid" value="1" />
<input type="hidden" name="m8returnid" value="54" />
</div>

	<p>
	<b><label for="m8topic_subject">Aihe</label>
</b><br />
	<input type="text" name="m8topic_subject" id="m8topic_subject" value="" size="40" maxlength="255" />
<br />
	</p>
	<p>
	<b>Viesti</b><br />
		<textarea name="m8post_body" cols="54" rows="7"></textarea><br />
		</p>
	<p><input name="m8submit" id="m8submit" value="Lähetä" type="submit" />
</p>
</form>

Re: Forum Made Simple 0.9.X

Posted: Wed May 06, 2009 2:18 pm
by alby
Thelenius wrote: Do you mean when I view page source in the browser? Nope, no script tag.
- try to re-upload bbcode_toolbar.php on server
- active debug in config.php and look for error in page and in server logs

Alby

Re: Forum Made Simple 0.9.X

Posted: Wed May 06, 2009 6:55 pm
by Thelenius
alby wrote: - try to re-upload bbcode_toolbar.php on server
- active debug in config.php and look for error in page and in server logs
Uh, what? Sorry, this is way out of my league. I guess we'll just have to forget about formatting text in the forums (the users of my site will most certainly not be able to use bbcode without a toolbar, and even with the toolbar it could be confusing because it's not wysiwyg).

Is bbcode_toolbar.php something that I should have added to the CMSMS installation myself?

Re: Forum Made Simple 0.9.X

Posted: Wed May 06, 2009 9:45 pm
by alby
Thelenius wrote:
alby wrote: - try to re-upload bbcode_toolbar.php on server
- active debug in config.php and look for error in page and in server logs
Is bbcode_toolbar.php something that I should have added to the CMSMS installation myself?
No is the php file for display (output js script tag) bb toolbar in FMS. It must be in Forum folder

Alby

Re: Forum Made Simple 0.9.X

Posted: Wed Jul 01, 2009 2:11 pm
by qv90
Hi,

I've installed CMSMS 1.6 and Forum 0.9.2. Then I tried BBCode [ quote ] quoted text [ /quote ]. Surprisingly It does not work..

Any Sugestions?

Live long ad prosper
Jam