1
xfranc
Re: New Members Block
  • 2006/9/12 14:35

  • xfranc

  • Just popping in

  • Posts: 22

  • Since: 2005/8/4 1


This worked a treat,

Many Thanks!



2
xfranc
New Members Block
  • 2006/9/12 13:18

  • xfranc

  • Just popping in

  • Posts: 22

  • Since: 2005/8/4 1


Hi all,

Quick Question (I Hope)

I would like to modify the selection criteria for the default new members block to show new members of a particular group.

Is this possible ?

Many Thanks


Xfranc
www.pleqguild.co.uk



3
xfranc
Re: Xoops 2.2.3a > 2.2.4 Errors
  • 2006/6/5 14:33

  • xfranc

  • Just popping in

  • Posts: 22

  • Since: 2005/8/4 1


Ive changed templates_c to 777 - sorry if that wasnt clear on the last post.



4
xfranc
Re: Xoops 2.2.3a > 2.2.4 Errors
  • 2006/6/5 13:18

  • xfranc

  • Just popping in

  • Posts: 22

  • Since: 2005/8/4 1


Thanks for that.

However,

I closed the site before upgrade and am now getting :

http://mercury.robustserver.com/~xfranc/pl/

Nothing as you can see - not even a page error and login box :(

Have I missed something else, I cant even access my admin page - similar error to the above.

Thanks in advance.



5
xfranc
Xoops 2.2.3a > 2.2.4 Errors
  • 2006/6/5 12:43

  • xfranc

  • Just popping in

  • Posts: 22

  • Since: 2005/8/4 1


Hi all,

Today I upgraded as I had been hacked last night. I am now getting a page full of these - and I cant access anything.

his page cannot be displayed due to an internal error.

If 
you are the administrator of this siteplease visit the XOOPS Troubleshooting Page for assistance.

Helpful infomation you should provide while asking for assistance:

Notice [PHP]: Only variables should be assigned by reference in file kernel/profilefield.php line 505
Notice 
[PHP]: Only variables should be assigned by reference in file kernel/profile.php line 94
Notice 
[PHP]: Only variables should be assigned by reference in file include/common.php line 215
Notice 
[PHP]: Only variables should be assigned by reference in file kernel/config.php line 239
Notice 
[PHP]: Only variables should be assigned by reference in file kernel/config.php line 239
Notice 
[PHP]: Only variables should be assigned by reference in file kernel/groupperm.php line 229
Notice 
[PHP]: Only variables should be assigned by reference in file include/cp_functions.php line 57
Notice 
[PHP]: Only variables should be assigned by reference in file kernel/groupperm.php line 229
Notice 
[PHP]: Only variables should be assigned by reference in file include/cp_functions.php line 97
Notice 
[PHP]: Only variables should be assigned by reference in file kernel/config.php line 239
Notice 
[PHP]: Only variable references should be returned by reference in file kernel/module.php line 1349
Notice 
[PHP]: Undefined indexhost in file modules/mydownloads/xoops_version.php line 205
Notice 
[PHP]: Only variables should be assigned by reference in file kernel/config.php line 239
Notice 
[PHP]: Only variables should be assigned by reference in file modules/smartfaq/xoops_version.php line 305
Notice 
[PHP]: Only variables should be assigned by reference in file modules/smartpartner/xoops_version.php line 340
Warning 
[PHP]: xoops_load_lang_file(/home/xfranc/public_html/pl/modules/xoops_teamspeak/language/english/modinfo.php): failed to open streamNo such file or directory in file include/functions.php line 152
Warning 
[PHP]: xoops_load_lang_file(): Failed opening '/home/xfranc/public_html/pl/modules/xoops_teamspeak/language/english/modinfo.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php'in file include/functions.php line 152
Warning 
[PHP]: xoops_load_lang_file(/home/xfranc/public_html/pl/modules/xoops_teamspeak/language/english/modinfo.php): failed to open streamNo such file or directory in file include/functions.php line 153
Warning 
[PHP]: xoops_load_lang_file(): Failed opening '/home/xfranc/public_html/pl/modules/xoops_teamspeak/language/english/modinfo.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php'in file include/functions.php line 153
Notice 
[PHP]: Only variables should be assigned by reference in file kernel/groupperm.php line 229
Notice 
[PHP]: Only variables should be assigned by reference in file kernel/blockinstance.php line 169
Error 
[Xoops]: Smarty errorunable to write to $compile_dir '/home/xfranc/public_html/pl/templates_c'Be sure $compile_dir is writable by the web server userin file class/smarty/Smarty.class.php line 1084


I have gone from 2.2.0 to 2.2.3a to 2.2.4. I started getting these errors at 2.2.3a but thought that the 2.2.4 release would fix it.

PLease help.

Thanks,



6
xfranc
Re: Modifing a system block
  • 2006/1/31 9:36

  • xfranc

  • Just popping in

  • Posts: 22

  • Since: 2005/8/4 1


I got this one working :) Just cant change the form button to an image with it having a nasty border :(

Thanks all



7
xfranc
Re: Adding Xoops variables to a block
  • 2006/1/30 15:18

  • xfranc

  • Just popping in

  • Posts: 22

  • Since: 2005/8/4 1


Thanks for the reply.

Unfortunately im using this string in my HTML theme as well and the <{$xoops_imageurl}> is direct path.

Thanks.



8
xfranc
Re: Modifing a system block
  • 2006/1/30 14:44

  • xfranc

  • Just popping in

  • Posts: 22

  • Since: 2005/8/4 1


Thanks for the quick response mate,

However, I'm a little stumped with it, I added the code under

<form style="margin-top: 0px;" action="<{$xoops_url}>/user.php" method="post">
    <{
$block.lang_username}><br />
    <
input type="text" name="uname" size="12" value="<{$block.unamevalue}>" maxlength="25" /><br />
    <{
$block.lang_password}><br />
    <
input type="password" name="pass" size="12" maxlength="32" /><br />
    <!-- <
input type="checkbox" name="rememberme" value="On" class ="formButton" /><{$block.lang_rememberme}><br /> //-->
    
<input type="hidden" name="xoops_redirect" value="<{$xoops_requesturi}>" />
    <
input type="hidden" name="op" value="login" />
    <
input class="formbutton" type="submit" value="<{$block.lang_login}>" /><br />
    <{
$block.sslloginlink}>
</
form>


However, even after reloading the System Module, my register button is not being shown, however as I left the links in below that, they were showing correctly ?

Any Ideas ?



9
xfranc
Adding Xoops variables to a block
  • 2006/1/30 14:00

  • xfranc

  • Just popping in

  • Posts: 22

  • Since: 2005/8/4 1


Hi all,

I want to put this :

<{if $xoops_isuser}> Welcome
<a href="<{$xoops_url}>/user.php"><{$xoops_uname}></a>. <{else}> 
            
Welcome GuestPlease 

<a href="<{$xoops_url}>" onMouseOver='W.src="<{$xoops_imageurl}>register_mo.gif"' onMouseOut='W.src="<{$xoops_imageurl}>register.gif"'><img src="<{$xoops_imageurl}>register.gif" name="W"</a>


Into one of my center blocks, but it doesnt work and just shows the first row of code.

What am I doing wrong ? How do I get it to display the username or the register button ?

Any Help appreciated.

Thanks



10
xfranc
Modifing a system block
  • 2006/1/30 13:58

  • xfranc

  • Just popping in

  • Posts: 22

  • Since: 2005/8/4 1


Hi all,

Just a relatively simple (I think) query.

I want to change the Login and Register links in the Login block to an image - where can I modify that block ?

Ive found this :

global $xoopsUser$xoopsConfig;
    if (!
$xoopsUser) {
        
$block = array();
        
$block['lang_username'] = _USERNAME;
        
$block['unamevalue'] = "";
        if (isset(
$_COOKIE[$xoopsConfig['usercookie']])) {
            
$block['unamevalue'] = $_COOKIE[$xoopsConfig['usercookie']];
        }
        
$block['lang_password'] = _PASSWORD;
        
$block['lang_login'] = _LOGIN;
        
$block['lang_lostpass'] = _MB_SYSTEM_LPASS;
        
$block['lang_registernow'] = _MB_SYSTEM_RNOW;
        
//$block['lang_rememberme'] = _MB_SYSTEM_REMEMBERME;
        
if ($xoopsConfig['use_ssl'] == && $xoopsConfig['sslloginlink'] != '') {
            
$block['sslloginlink'] = "<a href="javascript:openWithSelfMain('".$xoopsConfig['sslloginlink']."''ssllogin'300200);">"._MB_SYSTEM_SECURE."</a>";


Now I guess I need to change the define string for _MB_SYSTEM_LPASS to a img url ???

But where is this defined ?

Any help appreciated.




TopTop
(1) 2 »



Login

Who's Online

155 user(s) are online (121 user(s) are browsing Support Forums)


Members: 0


Guests: 155


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