Nukemods Forum  
» Log in
User Name:

Password:

Not a member yet?
Register Now!
» Online Users: 88
8 members and 80 guests
basdqiildonbank, kitfgw8che, kitzmchen, pheacw9romoneom, toa9pnsteranyae, trpslmber, vri8njgezellenf, watls7zerdamage
Most users ever online was 611, 03-21-2008 at 11:10 PM.
» .::.
tattoo fonts
http://www.checkoutmyink.com/category/tattoo-fonts-tattoo

Go Back   Nukemods Forum > PHP-Nuke 7.x > Nuke 7.x - Blocks

Reply
 
LinkBack Thread Tools Display Modes
Plz help
Old
  (#1 (permalink))
Junior Member
 
Status: Offline
Posts: 23
Join Date: Apr 2005
Location: Phnom Penh, Cambodia.
Plz help - 09-04-2005, 07:48 AM

Please help to modify this block code to fit with phpnuke7.6

Quote:
<?php
$blocks_modules['uChat'] = array(
'func_display' => 'blocks_uChat_block',
'text_type' => 'uChat',
'text_type_long' => "Chat for your site",
'allow_multiple' => false,
'form_content' => false,
'form_refresh' => false,
'show_preview' => false
);
pnSecAddSchema('uChat_Block::', 'Block title::');
function blocks_uChat_block($row) {
if (empty($row['title'])) {
$row['title'] = 'uChat';
}
if (!pnSecAuthAction(0, 'uChat_Block::', "$row[title]::", ACCESS_READ)) {
return;
}
$boxstuff = "\n<FORM ACTION=\"modules.php?op=modload&amp;name=uChat&amp ;file=index\" METHOD=\"post\" NAME=\"uChat\">\n";
if (pnUserLoggedIn()) {
$username = pnUserGetVar('uname');
} else {
$username = pnConfigGetVar('anonymous');
}
$boxstuff .= ""._UC_NICK."
<INPUT TYPE='text' NAME='iNick' value='$username' size='20' MAXLENGTH='180'>
";
$boxstuff .= "<INPUT TYPE='submit' VALUE='"._UC_CHAT."'>";
$boxstuff .= "</FORM>\n";
$row['content'] = $boxstuff;
themesideblock($row);
}
?>
  Send a message via Yahoo to web_design  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old
  (#2 (permalink))
Member
 
Status: Offline
Posts: 484
Join Date: Nov 2004
Location: UK Derby
09-04-2005, 07:49 AM

To be honest m8 u should change the name to your reqwest as this post will get locked u have to put in name that u need a help with pls help dos not say much to anyone change the name to Need help with block modification or sumthing like that Peace Boris
  Send a message via MSN to killerbee  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
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





vBulletin Skin developed by: vBStyles.com


LinkBacks Enabled by vBSEO 3.3.0

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31