Subrion CMS Support Forums   Follow Subrion on Twitter Join Us on Facebook

Go Back   Subrion CMS Support Forums > Subrion CMS Core Discussion > Subrion Core Discussion

Subrion Core Discussion Here we discuss everything that is related to Subrion CMS core functionality. Additional features related to plugins and templates engines. New features that are related to Manage Pages functionality or anything that's not related to Subrion packages.

Reply

 

LinkBack Thread Tools Display Modes
Old 05-11-2007   #1 (permalink)
Senior Member
 
Join Date: Apr 2007
Location: YOZGAT[TR]-StraSbourg[Fr]
Posts: 167
TurXaliM is on a distinguished road
Send a message via ICQ to TurXaliM Send a message via MSN to TurXaliM Send a message via Skype™ to TurXaliM
Question Can I removed this section when a guest want posting a message...?

Hmmm



I can disable this section?
When the guests post a message, after they input the code on the image and they submit their posts, The messages can be submitted automatically without this page?



if no, how i can done invisible these LOG IN Forms?

__________________
Excuse me all, My English isn't good

Last edited by TurXaliM; 05-11-2007 at 11:30 AM.
TurXaliM is offline   Reply With Quote
Old 05-12-2007   #2 (permalink)
Senior Member
 
Join Date: Apr 2007
Location: YOZGAT[TR]-StraSbourg[Fr]
Posts: 167
TurXaliM is on a distinguished road
Send a message via ICQ to TurXaliM Send a message via MSN to TurXaliM Send a message via Skype™ to TurXaliM
Default Re: I can removed this section when a guest want posting a message...?

any reply?
__________________
Excuse me all, My English isn't good

Last edited by TurXaliM; 05-12-2007 at 10:36 AM.
TurXaliM is offline   Reply With Quote
Old 05-13-2007   #3 (permalink)
Subrion Tech Support
 
Join Date: Apr 2007
Posts: 644
Sergey Hmelevsky will become famous soon enough
Default Re: I can removed this section when a guest want posting a message...?

For xooArticles v1.0.04
1. To disable this when post article comment, tou should remove/comment lines #59-67 in file view-article.php
PHP Code:
        if (!$gAccount)
        {
            
// Redirect to post-action page
            
$temp =& $xaFront->getArticle($article);
            
$redir get_view_article_url($temp);
            
$redir urlencode(base64_encode($redir));
            
header("Location: {$gConfig['base']}{$gConfig['subdir']}postaction.php?temp_sid={$sid}&redir={$redir}&item=2");
            exit;
        } 
2. The same way, to this message for subitem, comment lines #80-87 in file view-subitem.php
PHP Code:
        if (!$gAccount)
        {
            
// Redirect to post-action page
            
$redir get_view_subitem_url($subitemfalse);
            
$redir urlencode(base64_encode($redir));
            
header("Location: {$gConfig['base']}{$gConfig['subdir']}postaction.php?temp_sid={$sid}&redir={$redir}&item=3");
            exit;
        } 
Sergey Hmelevsky is offline   Reply With Quote
Old 05-25-2007   #4 (permalink)
Senior Member
 
Join Date: Apr 2007
Location: YOZGAT[TR]-StraSbourg[Fr]
Posts: 167
TurXaliM is on a distinguished road
Send a message via ICQ to TurXaliM Send a message via MSN to TurXaliM Send a message via Skype™ to TurXaliM
Default Re: I can removed this section when a guest want posting a message...?

Thank you very much SERGEY
__________________
Excuse me all, My English isn't good
TurXaliM is offline   Reply With Quote
Old 06-04-2007   #5 (permalink)
Senior Member
 
Join Date: May 2007
Posts: 105
LorenGK is on a distinguished road
Default Re: I can removed this section when a guest want posting a message...?

PHP Code:
<!--{if $gConfig.allow_subitems}
<
tr>
    <
td class="first" style="padding: 20px 0 10px 0;">Do you want to add a subitem&nbsp;to your profile&nbsp;now?</td>
    <
td style="padding: 20px 0 10px 0;">
        <
input type="radio" name="add_subitem_info" id="add_subitem_info_yes" value="1" />
        <
label for="add_subitem_info_yes">Yes</label>&nbsp;&nbsp;
        <
input type="radio" name="add_subitem_info" id="add_subitem_info_no" value="0" checked="checked" />
        <
label for="add_subitem_info_no">No</label>
    </
td>
</
tr>
{/if}--> 
Sergey, I commented out the following but I think I have a problem it has stopped my registration working, just goes around and around. Didn't do php file as i didn't know if it disabled my ability too.

Also, on registering, I would like the following characters to be able to be used (. -,) tried to find the coding but couldn't, please can you advise me. It's for people to put their titles i.e. like mine as their user name.

(Loren Goldenberg-Kosbab Dip.PLT, Dip.SRT)

Last edited by LorenGK; 06-04-2007 at 04:55 AM.
LorenGK is offline   Reply With Quote
Old 06-04-2007   #6 (permalink)
Senior Member
 
Join Date: May 2007
Posts: 105
LorenGK is on a distinguished road
Default Re: I can removed this section when a guest want posting a message...?

Okay regarding register.tpl and commenting, i replaced with original file, and the registeration is working again, so please could you tell me how to remove the subitem part on this page or guide me to the code if already posted. Cheers
LorenGK is offline   Reply With Quote
Old 06-04-2007   #7 (permalink)
Subrion Tech Support
 
Join Date: Apr 2007
Posts: 644
Sergey Hmelevsky will become famous soon enough
Default Re: I can removed this section when a guest want posting a message...?

I responded here http://www.xooarticles.com/forums/te...ticle-tpl.html
Sergey Hmelevsky is offline   Reply With Quote
Old 06-04-2007   #8 (permalink)
Senior Member
 
Join Date: May 2007
Posts: 105
LorenGK is on a distinguished road
Default Re: I can removed this section when a guest want posting a message...?

Thank you i have answered in that thread.

Can you though please answer me on this petal.

On registering, I would like the following characters to be able to be used
(. -,) tried to find the coding but couldn't, please can you advise me. It's for people to put their titles i.e. like mine as their user name

(Loren Goldenberg-Kosbab Dip.PLT, Dip.SRT)
LorenGK is offline   Reply With Quote
Old 06-04-2007   #9 (permalink)
Subrion Tech Support
 
Join Date: Apr 2007
Posts: 644
Sergey Hmelevsky will become famous soon enough
Default Re: I can removed this section when a guest want posting a message...?

I'm afraid, it's not that simple. Rules that testing username positioned on different spaces, furthermore this can give some conflicts. We'll try add this feature in next version.
Sergey Hmelevsky is offline   Reply With Quote
Old 06-04-2007   #10 (permalink)
Senior Member
 
Join Date: May 2007
Posts: 105
LorenGK is on a distinguished road
Default Re: I can removed this section when a guest want posting a message...?

okay well see what you can do that would be great

If not is there a way to add a new field like you can in the directory as it's based on it by the look of the script.
LorenGK is offline   Reply With Quote
Reply

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



All times are GMT -6. The time now is 02:34 AM.


Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.2.0