1
tjandt
Re: matchmaker or common interests module?
  • 2005/5/30 18:52

  • tjandt

  • Just popping in

  • Posts: 10

  • Since: 2005/5/6 1


I checked out formulaire, but it only seems to allow you to create the forms to be filled out.

I couldn't find anywhere that would allow a user to search and be provided with feeback on the results.

Maybe a hack of the user profile section of XOOPS would work, but I don't know how to code in PHP and would be afraid of screwing something up.

Tim



2
tjandt
Re: matchmaker or common interests module?
  • 2005/5/30 1:38

  • tjandt

  • Just popping in

  • Posts: 10

  • Since: 2005/5/6 1


Would you be able to PM me the URL for your site so I can take a look at it?

Do you know if it runs on XOOPS 2.0.10?

Thanks!
Tim



3
tjandt
matchmaker or common interests module?
  • 2005/5/28 2:17

  • tjandt

  • Just popping in

  • Posts: 10

  • Since: 2005/5/6 1


I run a web site for our small subdivision, and I've been looking for a way to bring people with common interests together.

I've been looking for a module that would do the following as kind of an extension of the current memberlis function:

Allow administrator to set up additional fields with checkboxes for a users various interests (i.e. gaming, golf, fishing, computers, etc).

When users sign up, they could then check off whatever interests they have, and other users would be able to search for people who have similar interests to themselves to get together with.

Rather than an extension of the memberlist, I was thinking of it being it's own module with kind of a mix of a form creation tool for the administrator of the site, and a search engine that uses inputs from that form to create queries for the user interaction.

Any help would be greatly appreciated!

Tim



4
tjandt
Re: Multiple votes allowed from one IP in poll module?
  • 2005/5/20 16:52

  • tjandt

  • Just popping in

  • Posts: 10

  • Since: 2005/5/6 1


Guess I solved my own problem...

Just went into the /modules/xoopspool directory, and edited the index.php and starting at line 75 of the file, commented out all references to the tracking cookie and the already voted conditions as follows:

if ( !$poll->hasExpired() ) {
    
//    if ( empty($voted_polls[$poll_id]) ) {
            
if ( $xoopsUser ) {
//                if ( XoopsPollLog::hasVoted($poll_id, xoops_getenv('REMOTE_ADDR'), $xoopsUser->getVar("uid")) ) {
    //                setcookie("voted_polls[$poll_id]", 1, 0);
        //            $msg = _PL_ALREADYVOTED;
            //    } else {
                    
$poll->vote($HTTP_POST_VARS['option_id'], xoops_getenv('REMOTE_ADDR'), $xoopsUser->getVar("uid"));
                    
$poll->updateCount();
                    
setcookie("voted_polls[$poll_id]"10);
                    
$msg _PL_THANKSFORVOTE;
                
//}
            
} else {
        
//        if ( XoopsPollLog::hasVoted($poll_id, xoops_getenv('REMOTE_ADDR')) ) {
            //        setcookie("voted_polls[$poll_id]", 1, 0);
            //        $msg = _PL_ALREADYVOTED;
        //        } else {
                    
$poll->vote($HTTP_POST_VARS['option_id'], xoops_getenv('REMOTE_ADDR'));
                    
$poll->updateCount();
                    
setcookie("voted_polls[$poll_id]"10);
                    
$msg _PL_THANKSFORVOTE;
                }
            
//}
//        } else {
    //        $msg = _PL_ALREADYVOTED;
        //}


Seemed to do the trick.

Tim



5
tjandt
Multiple votes allowed from one IP in poll module?
  • 2005/5/20 16:34

  • tjandt

  • Just popping in

  • Posts: 10

  • Since: 2005/5/6 1


Is there a way to allow more than one vote per IP address in a poll?

I have a site for our company basketball league that is hosted outside of our firewall, so XOOPS thinks that all of the individuals trying to vote are coming from them same IP address (our companie's Internet Gateway), and is not allowing additional votes.

thanks,
Tim



6
tjandt
Re: WhiteSpace issue
  • 2005/5/19 18:27

  • tjandt

  • Just popping in

  • Posts: 10

  • Since: 2005/5/6 1


I would try to use the compressor, however, that just adds one more step to an already messy method of getting my results from Excel to the website.

In the short-term, I'll try using it, but would really like the ability as an administrator of my own site to have the option of letting me choose to enter pure HTML in my news articles without the text interpretor screwing around with it and mucking it all up on me.

Thanks for the suggestion though, and I'll give the HTML compressor a shot.

Tim



7
tjandt
Re: WhiteSpace issue
  • 2005/5/19 17:14

  • tjandt

  • Just popping in

  • Posts: 10

  • Since: 2005/5/6 1


Quote:

phppp wrote:
The news module needs one more option in news/include/storyform.inc.php:
"dobr", which controls line break conversion

To add the option, db structure needs to be changed as well.
So perhaps it is an alternative forcing to disable dobr if nohtml is disabled.


Is this being addressed in the new version of Xoops? This is *KEY* to the site I am currently developing for a basketball league I run.

I take all of my Excel results, copy them into FrontPage to generate the HTML for the tables, then am currently pasting them into a Drupal web site. You can see the league site here: DC 4v4 Basketball League

Drupal allows for a data entry method that accepts pure HTML and does not add line breaks or anything like that, though I MUCH prefer the ease of use of Xoops.

The only other issue that Drupal is much better than XOOPS at is that you can easily customize the Main Menu navigation. I have yet to find a way to add specific links to the menu tree on Xoops, but am in the process of trying to learn the multimenu module as a kludge for this.

If anyone knows how to hack the db structure and code to turn off the line break conversion, please please please let me know and I'd be more than willing to try it!

Thanks,
Tim



8
tjandt
Re: Auth Module for wrapping HTML, PHP, CGI web site
  • 2005/5/14 3:16

  • tjandt

  • Just popping in

  • Posts: 10

  • Since: 2005/5/6 1


First, I must say that this module promises to be EXACTLY what I'm looking for. Problem is I can't seem to get it working properly.

My set up is: Windows 2000 Server, Apache 1.3.33, PHP 4.3.5, and MySQL 3.23.58.

I started out by testing the default index.html file that comes with the module and had some problems with a "Page Cannot be Found" Error. To resolve this, I did a small tweak to the auth/conf.php file as outlined earlier in this thread:

Changed
$auth_delimiter 
"/";
to
$auth_delimiter 
"?";


That took care of my problem, and the index.html was wrapped perfectly in my site.

Then, I put my PHP site that I wanted to wrap into the auth/sample folder, and set line 56 of auth/conf.php to:

$auth_user = array (
    
"/default"    => "index.php" );


Now when I run the auth module, I get an access denied error in Xoops. I checked the permissions to the module in the user groups, and they looked fine. If I switch it back to the "index.html" file, it works fine as well.

I tried switching the $auth_delimiter bacak to "/" and that did not work either.

If I go directly to my path //galaxy.theguildhouse.com/am/modules/auth/sample/index.php, the page displays just fine.

Anyone run up against this trying to wrap a .PHP site inside of XOOPS using the Auth(e) module?

I would LOVE to get this working, and am pulling my (what little I have left) hair out trying to get this figured out!

Thanks,
Tim



9
tjandt
Re: Inserting a link in a block?
  • 2005/5/10 18:53

  • tjandt

  • Just popping in

  • Posts: 10

  • Since: 2005/5/6 1


That was the problem. Just didn't set the type to HTML. Duh!

Thanks for helping this n00b out :)

Tim



10
tjandt
Inserting a link in a block?
  • 2005/5/6 19:25

  • tjandt

  • Just popping in

  • Posts: 10

  • Since: 2005/5/6 1


Hello,

I'm wondering if there is any way to insert HTML or a link in a block and have the block display the result of the link inside?

What I'm trying to do is create a block that displays the weather underground local weather, and to do so, need to insert a snippet of HTML code.

When I do this, the block displays the code as text rather than interpreting it. Any way to have the block actually interpret the code and display the result inside the block?

Thanks,
Tim




TopTop



Login

Who's Online

175 user(s) are online (109 user(s) are browsing Support Forums)


Members: 0


Guests: 175


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