71
twitaman
Re:PayPal module
  • 2005/2/8 18:25

  • twitaman

  • Friend of XOOPS

  • Posts: 270

  • Since: 2004/7/28


Arowana, thanks for this explanation. I just had aMember installed on my site and I'm trying to link it up with XOOPS by editing the login. I'm trying to edit the login following your instructions but I cannot get it to work. When I go to the block and click "edit template" I edit the lines as you say (I have to actually add the first bit of code for member.php) but there is no "submit" button. I can only click "view." Was there a change with XOOPS 2.0.9.2 which is what I'm using?


Quote:

Arowana wrote:
THANKS BEERME!

I tried to hire a programmer to dev one for me but the cost was twice the amount this was. I have to say I edited a few lang files and then the login block but that was it.

PROS:
It works great! Simple to install. Great Support even their install is free!

Login works either amember OR XOOPS

MONEY BACK PROMISE FOR ONE YEAR!


HOW I DID IT:

Purcahsed amember and XOOPS plug in.
Installed amember as directed by install manual
Installed XOOPS plug in as directed by install manual

1. Go to Administration of the XOOPS Site, Prefs., User Info Settings & Setting Allow new user registration to No.

2. Go to Administration of the XOOPS Site, blocks, Login - Edit, Edit Template, then paste this in the template IF you have amember installed as www.domainName.com/amember.

<a href="<{$xoops_url}>/amember/member.php"><{$block.lang_login}></a>
<br /><br />
<a href="<{$xoops_url}>/user.php#lost"><{$block.lang_lostpass}></a>
<br /><br />
<a href="<{$xoops_url}>/amember/signup.php"><{$block.lang_registernow}></a>

Click Submit

Once you do this to login to your admin account for now on you must go directly tohttp://www.domainname.com/user.php/ OR click on the lost password link to take you there.

Now you need to edit the block lang file located Root\language\english\user.php
Find:
define('_US_NOTREGISTERED','Not registered? Click <a href=register.php>here</a>.');

Change to:
define('_US_NOTREGISTERED','Not Subscribed? Click <a href=/amember/signup.php>here</a>.');

Used News as my main module in home page where I placed a notice to tell users this is a subscrption site.

Took me about an hour but it is working and working well.

If you plan on using amember make sure you have something lined up to make your money back right away as to most 180 bucks is a bit much to be out of. As for us we this module has already paid for itself.



72
twitaman
Does anyone use aMember? And how exactly do you link it with your Xoops site?
  • 2005/2/8 16:44

  • twitaman

  • Friend of XOOPS

  • Posts: 270

  • Since: 2004/7/28


I just had aMember (http://membership.cgi-central.net/scripts/amember/) installed on my site by the developer -- I have one (probably very simple question) -- how do you integrate it with your XOOPS site once it's installed? I imagine it's just a simple html link, but where do you put the link? I mean, right now if a user hits login, they still go to the normal XOOPS login page -- how can I change this link so that they go to the aMember page instead.



73
twitaman
Re:Subscription memberships looks like it could be done already
  • 2005/2/7 17:16

  • twitaman

  • Friend of XOOPS

  • Posts: 270

  • Since: 2004/7/28


I noticed that you are using the aMember script with your site. I just had them install it -- I have one (probably very simple question) -- how do you integrate it with your XOOPS site once it's installed? I imagine it's just a simple html link, but where do you put the link? I mean, right now if a user hits login, they still go to the normal XOOPS login page -- how can I change this link so that they go to the aMember page instead.


Quote:

Arowana wrote:
Tom,

amember is cheaper and works great. I am using it now on one of my sitehttp://www.soegamers.com. Easy to install and I turned over all my steps to the amember program and that is included now if you buy the XOOPS plug-in. These guys give free install of their product also. It does require Zend or something else but what I found out most hosting companies have one of the two install and never tell you. To settle that you can download their test script and it will tell you if you can use their pay system on your website.

Right now I have it working with paypal and I have not had one problem. Support is a bit slow as the time zone difference but I work very early in the morning so I can normally catch him. I live on the west coast of the USA.

You can find it by Clicking here



74
twitaman
Re: How Do I Copy Content in Xoops Link Module to another Xoops Site?
  • 2005/2/4 1:04

  • twitaman

  • Friend of XOOPS

  • Posts: 270

  • Since: 2004/7/28


Thanks, it worked. But strangely, I did get an error even though when I checked the module everything seemed to have imported fine. Here's the error I got:
Quote:

Error

SQL-query :

* -

MySQL said:

You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near '--' at line 1


Here's what I did. I exported the tables like you said. I did not compress files.
1) I chose all the necesarry mylinks tables
2)I chose SQL in the selection box on export.
3)Export type I left at "Insert"
I also left everything at the default.

Then on the site I was importing to here's what I did.
1) Installed empty module
2) In phpmyadmin I dropped the tables associated with that module.
3) On the SQL tab I chose the uncompressed files from my desktop and clicked "Go."

Then I got the error. But like I said when I checked the site everything was there fine. Not sure if I should be concerned about that because it seems to have worked.



75
twitaman
How Do I Copy Content in Xoops Link Module to another Xoops Site?
  • 2005/2/3 22:27

  • twitaman

  • Friend of XOOPS

  • Posts: 270

  • Since: 2004/7/28


Here's the problem. I have two XOOPS sites on two different servers. They both are using the XOOPS links module except one site is already filled out with about 50 links while the other has nothing.

I would like to copy the XOOPS Link module from one website to the other since they will share the same links in their library.

How do I do this quickly and efficiently? I gather I should back up the database or something then copy it to the other site through phpmyadmin? Or is this totally wrong. And if I'm on the right track, how exactly do I do this?

Or will I have to type everything in manually again -- I hope this isn't the case.



76
twitaman
Re: How I Got Rid of My Annoying Quotation \\\ Problems: magic_quotes
  • 2005/2/3 22:09

  • twitaman

  • Friend of XOOPS

  • Posts: 270

  • Since: 2004/7/28


Yeah, thanks a lot Dom for pointing me in the right direction! It's the little things that will drive you mad about this, and figuring out the dreaded quotation/apostrophe problem really relieves a BIG part of my stress.



77
twitaman
Re: Agenda-X 2.2 hack - willing to pay or barter!
  • 2005/2/3 20:58

  • twitaman

  • Friend of XOOPS

  • Posts: 270

  • Since: 2004/7/28


Great! I'm glad you got it figured out -- I was hoping I didn't lead you down the wrong path!

Hopefully this thread and the magic-quotes thread will be of benefit to a lot of people having problems with ' and " in their modules.

Quote:

marijun wrote:
wait, wait...still a good suggestion :) the .htaccess method just didn't work with my server configuration. had to go with the php.ini method!

for anyone else who has this problem with yr modules, and using .htaccess files returns an internal server error...do this:

open up notepad and paste this into a blank document:

magic_quotes_gpc no


save it in yr agenda-x folder as php.ini and upload it into the module folders you are experiencing trouble with.

voila!



78
twitaman
Re: How I Got Rid of My Annoying Quotation \\\ Problems: magic_quotes
  • 2005/2/3 19:34

  • twitaman

  • Friend of XOOPS

  • Posts: 270

  • Since: 2004/7/28


Thanks for the clarification!

Quote:

DonXoop wrote:
Thanks for the writeup.
FYI, the .htaccess line that works on most Apache servers is:

php_flag magic_quotes_gpc 0

If you only have one or a couple of modules that this will help you can place the .htaccess file at that directory level (i.e. /modules/agendax/.htaccess). This is safer and slightly better performing.



79
twitaman
Re: Agenda-X 2.2 hack - willing to pay or barter!
  • 2005/2/3 19:00

  • twitaman

  • Friend of XOOPS

  • Posts: 270

  • Since: 2004/7/28


Quote:

marijun wrote:
- fix the apostrophe and quote bug


This might help -- check out this posthttps://xoops.org/modules/newbb/viewtopic.php?topic_id=31123&forum=27&post_id=135917



80
twitaman
How I Got Rid of My Annoying Quotation \\\ Problems: magic_quotes
  • 2005/2/3 17:08

  • twitaman

  • Friend of XOOPS

  • Posts: 270

  • Since: 2004/7/28


Okay, this is probably for all the relatively new people like me who have run into problems with many modules that utilize quotation marks ' ". You know what happens, you type don't in your content and it appears as don'\t by adding the annoying backslashes. This quirk nearly cost me to toss out XOOPS at the 11th hour and try some other CMS. I know I've seen a lot of people asking questions about this and there have been various answers but nothing seems clear and upfront to me. So after asking a lot of questions to more knowledgeable folks and doing Google searches here is what I did to fix my backslash problem!!!

1) Assess the problem. Are you having a problem with backslashes? If you are, you are having a magic_quotes problem. I won't go into the why or sordid history behind magic_quotes but suffice is to say, it's a leftover bit of code which now causes a whole lot of trouble. When magic_quotes are set to on they cause the backslash problem.

2) There are 3 magic_quotes settings that are usually the culprits: magic_quotes_gpc, magic_quotes_sybase, and magic_quotes_runtime. Now, (and correct me on this if I'm wrong, people with more knowledge) when anyone of these is set to on. You're going to get the problem. So you have to figure out which one is set to on (they could all be set to on, or only one of them, it depends on your server). To check this, in your browser type:http://www.YOURSITE.com/phpinfo.php. This will return your php settings.

3) Under "Configuration PHP Core" you will see various php directives in alphabetical order. Note which magic_quotes settings are set to "on." In my case, only magic_quotes_gpc was set to "on."

4) If you have access to php.ini then you can change this yourself. But more than likely you will not have this access unless you have a dedicated server. You'll then have to notify your service provider and asks them to turn magic_quotes_gpc (in this case) to "off" by having them change the php.ini. If your service provider is like my bunch of a**holes they'll tell you pretty much to go to hell or upgrade to a dedicated server plan so that you can change it. If you're like me, you cannot afford that -- so what do you do?

5) You can change magic_quotes locally with an .htaccess file. htaccess files are hidden files on your server. If you have ftp access you'll have to enable the ability to view hidden files to see if there is an .htaccess file already in your XOOPS root folder. If you do not have one (like in my case) then you will have to create your own .htaccess file with the appropriate magic_quotes codes.

6) Open Notepad or SimpleText and add the lines you need. In my case, I just opened a Notepad file and typed: magic_quotes_gpc off.

7) Save your file by naming it. .htaccess. (For more information on .htaccess files, check this out:https://xoops.org/modules/smartfaq/faq.php?faqid=190) Remember, it's not .htaccess dot a file extension name, like say, .htaccess.txt. It's just .htacess! No file extension.

8) Upload your file to your XOOPS root folder (it may be another folder though depending on where your XOOPS site is). In my case I just needed to put my .htaccess file in public_html. CHMOD should be set to 644 Note, it's important to upload your file in ASCII format not Binary!

9) That's it! At least it was in my case. If you're still having problems make sure you have done everything correctly. Consult the .htaccess XOOPS faq. Also, check this outhttps://xoops.org.cn/modules/wordpress/index.php?p=91




TopTop
« 1 ... 5 6 7 (8) 9 10 11 ... 25 »



Login

Who's Online

218 user(s) are online (118 user(s) are browsing Support Forums)


Members: 0


Guests: 218


more...

Donat-O-Meter

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

Latest GitHub Commits