1
MACscr
Re: Long time PN user, New to Xoops
  • 2005/5/12 9:27

  • MACscr

  • Just popping in

  • Posts: 20

  • Since: 2005/5/10


what if i only want to hide one link in a block from a particular group?



2
MACscr
Re: Long time PN user, New to Xoops
  • 2005/5/12 7:39

  • MACscr

  • Just popping in

  • Posts: 20

  • Since: 2005/5/10


sry, just used to PN's permission scheme where i make my own custom permissions and give 8 different types of permission to whatever component i want.

Just looks like XOOPS has some great third party modules, but the core is extremely lacking.



3
MACscr
Re: Long time PN user, New to Xoops
  • 2005/5/12 6:27

  • MACscr

  • Just popping in

  • Posts: 20

  • Since: 2005/5/10


lol, check out this post:

here

This actually works, but of course its only a temp solution. So weird. Any ideas?

Wow, was I sure disappointed when i found out what your permissioning system is like. Talk about simple and barely even useful. That stinks.



4
MACscr
Re: Long time PN user, New to Xoops
  • 2005/5/12 6:09

  • MACscr

  • Just popping in

  • Posts: 20

  • Since: 2005/5/10


yep, i have the same perms =(



5
MACscr
Re: Advanced Theming?
  • 2005/5/12 6:00

  • MACscr

  • Just popping in

  • Posts: 20

  • Since: 2005/5/10


oh, i would never allow users to pick their theme. Thats really only good for personal sites. Also, I dont develope for anyone except myself or my clients, so i could careless about distributing my changes. Im not saying i dont develope modules, etc for the community. Just as far as theming and layout I think people should be original. Also, putting the logic in the templates instead of the php files means i can upgrade the php files with the newest releases without worrying about losing my changes.



6
MACscr
Re: Long time PN user, New to Xoops
  • 2005/5/12 5:38

  • MACscr

  • Just popping in

  • Posts: 20

  • Since: 2005/5/10


that file doesnt even exist in my cache folder.

only cache/adminmenu.php



7
MACscr
Re: Long time PN user, New to Xoops
  • 2005/5/12 5:16

  • MACscr

  • Just popping in

  • Posts: 20

  • Since: 2005/5/10


cache folder is 777



8
MACscr
Re: Advanced Theming?
  • 2005/5/12 5:14

  • MACscr

  • Just popping in

  • Posts: 20

  • Since: 2005/5/10


Well, its sounding like XOOPS theming is pretting weak then. Not having complete control of presentation is no good in my book.

I understand that seperating logic from presentation the point of templates. But I use them more as a way being able to upgrade a module, without losing my changes for presentation and added logic. Here is an example of a template for a users profile.

<!--[pnusergetvar name=uid assign="checkuid"]-->
<!--[if 
$checkuid eq $uid or pnSecAuthAction(0"advProfile::""::"ACCESS_ADMIN)]-->
<!--[if 
pnSecAuthAction(0"advProfile::""::"ACCESS_ADMIN)]-->
  <!--[
assign var="auth" value=true]-->
<!--[else]-->
  <!--[
assign var="auth" value=false]-->
<!--[/if]-->
<
table border="0" width="100%" cellspacing="0" cellpadding="0">
    <
tr>
        <
td><b>&nbsp;&nbsp;&nbsp;<span class="pn-title">Client Account Information for <!--[$FIRSTNAME_VALUE|pnvarprephtmldisplay|pnvarcensor]-->&nbsp;<!--[$LASTNAME_VALUE|pnvarprephtmldisplay|pnvarcensor]--></span></b>
                        <!--[if 
$checkuid eq $uid or $auth eq true]-->
                            <!--[if 
$auth eq true]-->
                                &
nbsp;(<a href="admin.php?module=User&amp;op=modifyUser&amp;chng_uid=<!--[$uid]-->&amp;authid=<!--[$authid]-->">ADMIN EDIT</a>)
                            <!--[/if]-->
                            <!--[else]-->
                                <!-- 
HIDE ME -->
                        <!--[/if]-->
</
td>
    </
tr>
    <
tr>
        <
td>
        </
td>
    </
tr>
    <
tr>
        <
td>
        <
table border="0" width="100%" cellspacing="5" cellpadding="5">
            <
tr>
                <
td valign="top"><u><b>Contact Info</b></u></td>
                <
td valign="top"><u><b>Recent Forum Posts</b></u></td>
            </
tr>
            <
tr>
                <
td valign="top">
                <
table border="0" width="100%" cellspacing="0" cellpadding="0" id="table1">
                    <
tr>
                        <
td>User:&nbsp;<!--[$USERNAME_VALUE|pnvarprepfordisplay|pnvarcensor]--></td>
                    </
tr>
                    <
tr>
                        <
td><!--[pnml name="_TRADENUM"]-->&nbsp;<!--[$TRADENUM_VALUE|pnvarprephtmldisplay|pnvarcensor|default:"N/A"]--></td>
                    </
tr>
                    <
tr>
                        <
td>&nbsp;</td>
                    </
tr>
                    <
tr>
                        <
td><!--[$FIRSTNAME_VALUE|pnvarprephtmldisplay|pnvarcensor]-->&nbsp;<!--[$LASTNAME_VALUE|pnvarprephtmldisplay|pnvarcensor]--></td>
                    </
tr>
                    <
tr>
                        <
td><!--[$STREET1_VALUE|pnvarprephtmldisplay|pnvarcensor|default:"N/A"]--></td>
                    </
tr>
                    <
tr>
                        <
td><!--[$STREET2_VALUE|pnvarprephtmldisplay|pnvarcensor]--></td>
                    </
tr>
                    <
tr>
                        <
td><!--[$CITY_VALUE|pnvarprephtmldisplay|pnvarcensor|default:"N/A"]-->, <!--[if $STATE_VALUE == 1]-->
AK
<!--[elseif $STATE_VALUE == 2]-->
AL
<!--[elseif $STATE_VALUE == 3]-->
AR
<!--[elseif $STATE_VALUE == 4]-->
AZ
<!--[elseif $STATE_VALUE == 5]-->
CA
<!--[elseif $STATE_VALUE == 6]-->
CO
<!--[elseif $STATE_VALUE == 7]-->
CT
<!--[elseif $STATE_VALUE == 8]-->
DC
<!--[elseif $STATE_VALUE == 9]-->
DE
<!--[elseif $STATE_VALUE == 10]-->
FL
<!--[elseif $STATE_VALUE == 11]-->
GA
<!--[elseif $STATE_VALUE == 12]-->
HI
<!--[elseif $STATE_VALUE == 13]-->
IA
<!--[elseif $STATE_VALUE == 14]-->
ID
<!--[elseif $STATE_VALUE == 15]-->
IL
<!--[elseif $STATE_VALUE == 16]-->
IN
<!--[elseif $STATE_VALUE == 17]-->
KS
<!--[elseif $STATE_VALUE == 18]-->
KY
<!--[elseif $STATE_VALUE == 19]-->
LA
<!--[elseif $STATE_VALUE == 20]-->
MA
<!--[elseif $STATE_VALUE == 21]-->
MD
<!--[elseif $STATE_VALUE == 22]-->
ME
<!--[elseif $STATE_VALUE == 23]-->
MI
<!--[elseif $STATE_VALUE == 24]-->
MN
<!--[elseif $STATE_VALUE == 25]-->
MO
<!--[elseif $STATE_VALUE == 26]-->
MS
<!--[elseif $STATE_VALUE == 27]-->
MT
<!--[elseif $STATE_VALUE == 28]-->
NC
<!--[elseif $STATE_VALUE == 29]-->
ND
<!--[elseif $STATE_VALUE == 30]-->
NE
<!--[elseif $STATE_VALUE == 31]-->
NH
<!--[elseif $STATE_VALUE == 32]-->
NJ
<!--[elseif $STATE_VALUE == 33]-->
NM
<!--[elseif $STATE_VALUE == 34]-->
NV
<!--[elseif $STATE_VALUE == 35]-->
NY
<!--[elseif $STATE_VALUE == 36]-->
OH
<!--[elseif $STATE_VALUE == 37]-->
OK
<!--[elseif $STATE_VALUE == 38]-->
OR
<!--[elseif 
$STATE_VALUE == 39]-->
PA
<!--[elseif $STATE_VALUE == 40]-->
RI
<!--[elseif $STATE_VALUE == 41]-->
SC
<!--[elseif $STATE_VALUE == 42]-->
SD
<!--[elseif $STATE_VALUE == 43]-->
TN
<!--[elseif $STATE_VALUE == 44]-->
TX
<!--[elseif $STATE_VALUE == 45]-->
UT
<!--[elseif $STATE_VALUE == 46]-->
VA
<!--[elseif $STATE_VALUE == 47]-->
VT
<!--[elseif $STATE_VALUE == 48]-->
WA
<!--[elseif $STATE_VALUE == 49]-->
WI
<!--[elseif $STATE_VALUE == 50]-->
WV
<!--[elseif $STATE_VALUE == 51]-->
WY
<!--[elseif $STATE_VALUE == 52]-->
AA
<!--[elseif $STATE_VALUE == 53]-->
AE
<!--[elseif $STATE_VALUE == 54]-->
AP
<!--[elseif $STATE_VALUE == 55]-->
AS
<!--[elseif 
$STATE_VALUE == 56]-->
FM
<!--[elseif $STATE_VALUE == 57]-->
GU
<!--[elseif $STATE_VALUE == 58]-->
MH
<!--[elseif $STATE_VALUE == 59]-->
MP
<!--[elseif $STATE_VALUE == 60]-->
PR
<!--[elseif $STATE_VALUE == 61]-->
PW
<!--[elseif $STATE_VALUE == 62]-->
VI
<!--[else]-->
N/A
<!--[/if]-->&nbsp;<!--[$ZIP_VALUE|pnvarprephtmldisplay|pnvarcensor|default:"N/A"]--></td>
                    </
tr>
                    <
tr>
                        <
td>&nbsp;</td>
                    </
tr>
                    <
tr>
                        <
td><!--[pnml name="_DAYPHONE"]-->&nbsp;<!--[$DAYPHONE_VALUE|pnvarprephtmldisplay|pnvarcensor|default:"N/A"]--></td>
                    </
tr>
                    <
tr>
                        <
td><!--[pnml name="_NIGHTPHONE"]-->&nbsp;<!--[$NIGHTPHONE_VALUE|pnvarprephtmldisplay|pnvarcensor|default:"N/A"]--></td>
                    </
tr>
                    <
tr>
                        <
td><!--[pnml name="_CELLPHONE"]-->&nbsp;<!--[$CELLPHONE_VALUE|pnvarprephtmldisplay|pnvarcensor|default:"N/A"]--></td>
                    </
tr>
                    <
tr>
                        <
td><!--[pnml name="_FAX"]-->&nbsp;<!--[$FAX_VALUE|pnvarprephtmldisplay|pnvarcensor|default:"N/A"]--></td>
                    </
tr>
                    <
tr>
                        <
td><!--[pnml name="_TXTMSG"]-->&nbsp;<a href="mailto:<!--[$TXTMSG_VALUE|pnvarprephtmldisplay|pnvarcensor|default:"N/A"]-->"><!--[$TXTMSG_VALUE|pnvarprephtmldisplay|pnvarcensor|default:"N/A"]--></a></td>
                    </
tr>
                    <
tr>
                        <
td>&nbsp;</td>
                    </
tr>
                    <
tr>
                        <
td>Email: <a href="mailto:<!--[pnusergetvar name="email" uid=$uid]-->"><!--[pnusergetvar name="email" uid=$uid]--></a></td>
                    </
tr>
                </
table>
                </
td>
                <
td valign="top">
                <!--[
pnblockshow module="PNphpBB2" blockname="Multiblock" block="46"]--></td>
            </
tr>
            <
tr>
                <
td valign="top"><u><b>Member Pages</b></u></td>
                <
td valign="top"><u><b>My Account</b></u></td>
                <
td valign="top"><u><b>Information</b></u></td>
            </
tr>
            <
tr>
                <
td valign="top">
                <!--[if 
pnSecAuthAction(0"clientlinks::""::"ACCESS_COMMENT)]-->
                <
table border="0" width="100%" cellspacing="0" cellpadding="5">
                    <
tr><td>
                        <
img src="images/arrow_right.gif" alt="">&nbsp;<a target="_blank" href="uploads/members/financials/<!--[$TRADENUM_VALUE]-->.xls">Financials</a></td>
                    </
tr><tr><td>
                        <
img src="images/arrow_right.gif" alt="">&nbsp;<a target="_blank" href="uploads/members/pnl/<!--[$TRADENUM_VALUE]-->.xls">Profit/Loss</a></td>
                    </
tr><tr><td>
                        <
img src="images/arrow_right.gif" alt="">&nbsp;<a href="index.php?module=pxPDFManager&type=user&private=1">Recommendations</a></td>
                </
tr></table>
                <!--[else]-->
                
Become a full member today!<br /><br />Call ABS and tell them your interested in becoming a full member!<br /><br />(309)-691-5706!
                <!--[/if]-->        
                </
td>
                <
td valign="top">
                <
table border="0" width="100%" cellspacing="0" cellpadding="5" id="table2">
                    <
tr>
                        <
td>            
                            <!--[
pnimg src="arrow_right.gif" alt="."]-->&nbsp;<a href="user.php?op=edituser" title="Edit your Profile">Edit Profile</a>
                        </
td>
                    </
tr>
                    <
tr>
                        <
td>            
                            <!--[
pnimg src="arrow_right.gif" alt="."]-->&nbsp;<a href="index.php?module=ChangePassword" title="Change Your Password">Change Password</a>
                        </
td>
                    </
tr>
                    <
tr>
                        <
td>
                            <!--[
pnimg src="arrow_right.gif" alt="."]-->&nbsp;<a href="user.php?module=User&op=logout">Logout</a>
                        </
td>
                    </
tr>
                </
table>
                </
td>
                <
td valign="top">
                <
table border="0" width="100%" cellspacing="0" cellpadding="5" id="table2">
                    <
tr>
                        <
td>            
                            <!--[
pnimg src="arrow_right.gif" alt="."]-->&nbsp;<a href="pxPDFManager.htm" title="ABSReports">ABSReports</a>
                        </
td>
                    </
tr>
                    <
tr>
                        <
td>            
                            <!--[
pnimg src="arrow_right.gif" alt="."]-->&nbsp;<a href="PNphpBB2-viewforum-f-1.htm" title="Forum">Forum</a>
                        </
td>
                    </
tr>
                </
table>
                </
td>
            </
tr>
        </
table>
        </
td>
    </
tr>
</
table>
<!--[else]-->
<
div align="center">
You Are Not Authorized To View This Content.
</
div>
<!--[/if]-->



9
MACscr
Re: Long time PN user, New to Xoops
  • 2005/5/12 4:55

  • MACscr

  • Just popping in

  • Posts: 20

  • Since: 2005/5/10


Then why would every other module work fine?



10
MACscr
Re: Long time PN user, New to Xoops
  • 2005/5/12 3:37

  • MACscr

  • Just popping in

  • Posts: 20

  • Since: 2005/5/10


Unfortunately i still havent gotten this groups problem fixed. =(




TopTop
(1) 2 »



Login

Who's Online

175 user(s) are online (117 user(s) are browsing Support Forums)


Members: 0


Guests: 175


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Apr 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits