11
krewl
Re: Dual login with Subdomain...
  • 2006/10/17 0:58

  • krewl

  • Just popping in

  • Posts: 39

  • Since: 2006/3/14


New authentication system. I'm not sure that's going to help. I read through the docs, I won't have different servers, just 2 different databases... Still looking. Multi-site for the older versions of XOOPS would work, but I upgraded...
-------------------
www.illinoisbmx.com



12
krewl
Dual login with Subdomain...
  • 2006/10/13 17:14

  • krewl

  • Just popping in

  • Posts: 39

  • Since: 2006/3/14


I have one original site that I would like to spawn off, using a subdomain, and I want to use xoops, but I don't want users to re-register.

Here is was what I have:
2 Sites, 2 databases...

What I want:
Users to use same login for each site. If you register on either one, it will still allow you to login to the other.

Databases are on the same localhost so calling is easy. What do I need to do, change some core files? Alot of core files? I am going through it this weekend to do some tests.
Any help would be appreciated.

Thanks.
-------------------
www.illinoisbmx.com



13
krewl
Re: Need Module -> Couldn't find it.
  • 2006/9/6 12:32

  • krewl

  • Just popping in

  • Posts: 39

  • Since: 2006/3/14


Cool, thanks. I will modify the register page then and add some COPPA Support (hopefully).

2.0.x, 2.2.x Did someone go out on their own and update xoops? Why the 2 different versions? I've only used XOOPS for a little while but I love using it for its ease and simple modifications.

www.illinoisbmx.com
-------------------
www.illinoisbmx.com



14
krewl
Need Module -> Couldn't find it.
  • 2006/9/5 17:39

  • krewl

  • Just popping in

  • Posts: 39

  • Since: 2006/3/14


I looked all through the Modules and couldn't find the Extended Profiles Mod. I need it to setup the COPPA Hack. That is the correct module for the COPPA Hack right?

If anyone can point me to the Profile Mod I need, I would appreciate it...

Thanks.
-------------------
www.illinoisbmx.com



15
krewl
Re: No display of loop info
  • 2006/7/28 16:41

  • krewl

  • Just popping in

  • Posts: 39

  • Since: 2006/3/14


"BUMP" - Anyone?
-------------------
www.illinoisbmx.com



16
krewl
No display of loop info
  • 2006/7/27 17:25

  • krewl

  • Just popping in

  • Posts: 39

  • Since: 2006/3/14


I have copied several different loop options from XOOPS core files, and a few were successful and now I have one that I can't get to display. Any help would be appreciated... Here is the info.

Source from php file:
/////////////////////
// GET INFORMATION //
/////////////////////
$fullcountresult=$xoopsDB->query("select count(*) from ".$xoopsDB->prefix("xteams_sponsors")." where lid=$lid ");
  list(
$s_numrows) = $xoopsDB->fetchRow($fullcountresult);
//  $getsponsors = "select * from ".$xoopsDB->prefix("xteams_sponsors")." where lid=$lid order by sort ASC";
$getsponsors=$xoopsDB->query("select lid, sid, name, website, address, zip, city, state, country, phone, email, info, sort, logourl from ".$xoopsDB->prefix("xteams_sponsors")." where lid=$lid ORDER BY sort");
 
// $result=$xoopsDB->query($getsponsors);
while(list($s_lid,$s_sid,$s_name,$s_website,$s_address,$s_zip,$s_city,$s_state,$s_country,$s_phone,$s_email,$s_info,$s_sort,$s_logourl) = $xoopsDB->fetchRow($getsponsors))
{
 
$xoopsTpl->assign('x',array('s_lid' => $s_lid,'s_sid' => $s_sid,'s_sponsor' => $s_name,'s_website' => $myts->makeTboxData4Show($s_website),'s_logourl' =>$s_logourl,'s_numrows' => $s_numrows));
}
mysql_free_result($getsponsors);

/////////////////////


The above code is similar to another setup I copied from a core XOOPS page and works fine.

Here is the template code with the loop information:
<!-- Start new link loop -->
    <{
section name=i loop=$x}>
    <{
$x[i].s_sponsor}><{$x[i].s_website}><br><{$x[i].s_logourl}>
    <{/
section}>
      <!-- 
End new link loop -->


Where did I go wrong? Nothing but the breakreturn shows up.
Thanks.
-------------------
www.illinoisbmx.com



17
krewl
Timed Block
  • 2006/7/24 17:38

  • krewl

  • Just popping in

  • Posts: 39

  • Since: 2006/3/14


I searched and couldn't find anything on this, I also couldn't find a Block Hack forum... but here goes.

Does a hack exist to allow for a block to disappear after a certain amount of time or after a certain date?

If I missed something in the forum I appologize and if it exists in the XOOPS itself, I am a dumbass and please let me know...

Thanks.
-------------------
www.illinoisbmx.com



18
krewl
Re: another block question
  • 2006/7/24 17:32

  • krewl

  • Just popping in

  • Posts: 39

  • Since: 2006/3/14


Go to Groups, Modify Anonymous Users Group, you should see your custom block in the Block Access Rights. Click the block you want to be seen by this usergroup and should work.
-------------------
www.illinoisbmx.com



19
krewl
Re: User Edit Options
  • 2006/7/3 4:22

  • krewl

  • Just popping in

  • Posts: 39

  • Since: 2006/3/14


I have been playing around with the lines containing this:

if ($xoopsUser && $xoopsUser->isAdmin($xoopsModule->mid()))

I need to have the user and submitter be the same to allow the link to show for that user... Any Ideas?

-----

Finally on the actual form page how can I redirect the page if the user is not the submitter:

// If not submitter, redirect
if (!is_object($xoopsUser)) {
    
redirect_header('index.php',3,_US_NOEDITRIGHT);
    exit();
}

I have been also trying to tweak that within the page, I think I need to modify a core file... not sure.
-------------------
www.illinoisbmx.com



20
krewl
User Edit Options
  • 2006/7/2 5:44

  • krewl

  • Just popping in

  • Posts: 39

  • Since: 2006/3/14


Lets say I am using the Reviews Module, the User submits a Review and the Admin approves it... Rather than requesting the information to be modified how can I let the user that submitted it, edit it?

I don't want to create agroup and everytime add someone new to the group so they can edit the module information. I am editting a module to act like a "team" information page where they can add info, updates, race results, etc..

Any ideas I will be glad to try... I tried to add if user info to the top of the modlink page (where information is updated in the database).
-------------------
www.illinoisbmx.com




TopTop
« 1 (2) 3 4 »



Login

Who's Online

255 user(s) are online (140 user(s) are browsing Support Forums)


Members: 0


Guests: 255


more...

Donat-O-Meter

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

Latest GitHub Commits