» Log in
User Name:

Password:

Not a member yet?
Register Now!
» Online Users: 59
0 members and 59 guests
No Members online
Most users ever online was 611, 03-21-2008 at 11:10 PM.
» .::.
Web Hosting - web hosting, dedicated servers and web design services
Online Degree - search for 1000+ online degrees, online colleges & online universities.
Tattoo - we are a group of tattoo enthusiasts
Gexa Energy - your absolute best choice in electric service
Texas electricity - save on electric rates
Football Betting - best nfl betting promotions at sportsbook.com.
Oral Chelation - initial cleansing of your veins & arteries
Portatiles - Ofertas en Ordenadores y Portatiles. Increibles Ofertas DELL.

Register Now! Contact Us

About this Page
This is a discussion on Plz help within the Nuke 7.x - Blocks forums, part of the PHP-Nuke 7.x category; Please help to modify this block code to fit with phpnuke7.6 <?php $blocks_modules['uChat'] = array( 'func_display' => 'blocks_uChat_block', '...


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

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 09-04-2005, 07:48 AM
Junior Member
 
Join Date: Apr 2005
Location: Phnom Penh, Cambodia.
Posts: 23
Send a message via Yahoo to web_design
Plz help
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);
}
?>
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 09-04-2005, 07:49 AM
Member
 
Join Date: Nov 2004
Location: UK Derby
Posts: 483
Send a message via MSN to killerbee
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
__________________
www.MoWarez.com
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



All times are GMT -5. The time now is 06:27 PM.


Design by Vjacheslav Trushkin, color scheme by ColorizeIt!.

LinkBacks Enabled by vBSEO 3.1.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