241
sabahan
Re: Spotlight view on Xoops.org
  • 2006/5/18 12:50

  • sabahan

  • Quite a regular

  • Posts: 317

  • Since: 2006/3/4 5


awesome......

thanks a lot bandit-x



242
sabahan
Re: Modules not working
  • 2006/5/15 1:56

  • sabahan

  • Quite a regular

  • Posts: 317

  • Since: 2006/3/4 5


I use to have problem like this before @ localhost...for 2.0 and 2.2

and it took me several weeks to solve it...finally I realised there is some problem with my configuration of php+mysql+apache (which I modified myself) eventhough it works perfectly installing and running test site (weird) ?

I'm sure there must be some line that made XOOPS modules not working properly but I'm lazy to check.....so i uninstall everything....and install EasyPhp 1.8
in my computer

and now XOOPS & all of my modules are working properly....yippi...

p/s : easy php 1.8 - apache1.3,php4.310,mysql.419,phpmyadmin2.61



243
sabahan
Re: register form,
  • 2006/5/15 1:16

  • sabahan

  • Quite a regular

  • Posts: 317

  • Since: 2006/3/4 5


here's the way to do it in XOOPS 2.0.13.2...just found out how to this myself recently..hope this works for your site


just rememeber backup your files
register.php,include/registerform.php

Open up register.php
find this
$url = isset($_POST['url']) ? trim($myts->stripSlashesGPC($_POST['url'])) : '';


put this below the code
$icq = isset($_POST['user_icq']) ? $myts->stripSlashesGPC($_POST['user_icq']) : '';
$aim = isset($_POST['user_aim']) ? $myts->stripSlashesGPC($_POST['user_aim']) : '';
$yim = isset($_POST['user_yim']) ? $myts->stripSlashesGPC($_POST['user_yim']) : '';
$msnm = isset($_POST['user_msnm']) ? $myts->stripSlashesGPC($_POST['user_msnm']) : '';


in register.php
find this
$stop .= userCheck($uname$email$pass$vpass);
    if (empty(
$stop)) {
        echo 
_US_USERNAME.": ".$myts->htmlSpecialChars($uname)."<br />";

add just after
echo _US_ICQ.": ".$myts->htmlSpecialChars($icq)."<br />";
echo 
_US_AIM.": ".$myts->htmlSpecialChars($aim)."<br />";
echo 
_US_YIM.": ".$myts->htmlSpecialChars($yim)."<br />";
echo 
_US_MSNM.": ".$myts->htmlSpecialChars($msnm)."<br />";


in register.php
find this
<input type='hidden' name='email' value='".$myts->htmlSpecialChars($email)."' />";



add this above the the code
<input type='hidden' name='user_icq' value='".$myts->htmlSpecialChars($icq)."'/>
<
input type='hidden' name='user_aim' value='".$myts->htmlSpecialChars($aim)."'/>
<
input type='hidden' name='user_yim' value='".$myts->htmlSpecialChars($yim)."'/>
<
input type='hidden' name='user_msnm' value='".$myts->htmlSpecialChars($msnm)."'/>


find this in register.php
if ( empty($stop) ) {
        
$member_handler =& xoops_gethandler('member');
        
$newuser =& $member_handler->createUser();
        
$newuser->setVar('user_viewemail',$user_viewemailtrue);
        
$newuser->setVar('uname'$unametrue);


add this code below
$newuser->setVar('name'$nametrue);
$newuser->setVar('user_icq'$icqtrue);
$newuser->setVar('user_aim'$aimtrue);
$newuser->setVar('user_yim'$yimtrue);
$newuser->setVar('user_msnm'$msnmtrue);



next open up include/registerform.php
search for
$reg_form->addElement(new XoopsFormText(_US_NICKNAME"uname"$uname_size$uname_size$myts->htmlSpecialChars($uname)), true);


and add this code below
$reg_form->addElement(new XoopsFormText(_US_ICQ"user_icq"2625$myts->htmlSpecialChars($icq)), false);
$reg_form->addElement(new XoopsFormText(_US_AIM"user_aim"2625$myts->htmlSpecialChars($aim)), false);
$reg_form->addElement(new XoopsFormText(_US_YIM"user_yim"2625$myts->htmlSpecialChars($yim)), false);
$reg_form->addElement(new XoopsFormText(_US_MSNM"user_msnm"2625$myts->htmlSpecialChars($msnm)), false);

lastly update ur system modules...



244
sabahan
Re: register form,
  • 2006/5/15 1:02

  • sabahan

  • Quite a regular

  • Posts: 317

  • Since: 2006/3/4 5


what version of XOOPS are you using 2.2 or 2.0



245
sabahan
Re: 2.0 or 2.2?
  • 2006/5/14 5:34

  • sabahan

  • Quite a regular

  • Posts: 317

  • Since: 2006/3/4 5


Read here

and here



246
sabahan
Re: News in frontpage
  • 2006/5/11 16:48

  • sabahan

  • Quite a regular

  • Posts: 317

  • Since: 2006/3/4 5


I knew about the spotlight module..currently using it in my 2 other sites...

I just want my new site URL to look different...

solve my problem as I just found the news block module hack at Xoops-tips.com

Xoops Tips

thanks anyway



247
sabahan
News in frontpage
  • 2006/5/11 13:23

  • sabahan

  • Quite a regular

  • Posts: 317

  • Since: 2006/3/4 5


How do I set the news to be in front page

without setting up the news as my page startup (General Setting> Preference>)

I prefer my url to be domain.com rather than domain.com/modules/news/



248
sabahan
Re: Spotlight view on Xoops.org
  • 2006/5/10 2:00

  • sabahan

  • Quite a regular

  • Posts: 317

  • Since: 2006/3/4 5


hope to see new release of xm-spotlight (for 2.2 & 2.0) soon...



249
sabahan
Re: Spotlight view on Xoops.org
  • 2006/5/9 17:44

  • sabahan

  • Quite a regular

  • Posts: 317

  • Since: 2006/3/4 5


Quote:

sabahan wrote:
Quote:

defwind77 wrote:
hmm is it easily possible to add more than four categories for news? I've tried adding two separate blocks, however I can't seem to get them to specify which news categories to use - the only related option in xmspotlight is to set the news ID? - Is it something to do with this maybe?


I need to do this also...can anyone tell me how to add more categories in xmspotlight ?


nevermind...found the solution here

works great now....wooooo



250
sabahan
Re: Spotlight view on Xoops.org
  • 2006/5/9 7:10

  • sabahan

  • Quite a regular

  • Posts: 317

  • Since: 2006/3/4 5


Quote:

defwind77 wrote:
hmm is it easily possible to add more than four categories for news? I've tried adding two separate blocks, however I can't seem to get them to specify which news categories to use - the only related option in xmspotlight is to set the news ID? - Is it something to do with this maybe?


I need to do this also...can anyone tell me how to add more categories in xmspotlight ?




TopTop
« 1 ... 22 23 24 (25) 26 27 »



Login

Who's Online

223 user(s) are online (143 user(s) are browsing Support Forums)


Members: 0


Guests: 223


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