php forum
php mysql forum
php mysql smarty
 
Topic Options
#280339 - 10/03/04 08:05 PM IIP6.5 "Recommend Us" not working
Basil Fawlty Offline
Journeyman

Registered: 10/30/01
Posts: 135
Loc: New Mexico
Ok, I have IIP6.5 running under Threads 6.5 and so far most things seem to be working with one possibility:<br />When I click the "Recommend Us" link in the Menu Box, my index page just refreshes and only shows the Pal boxes on the left side. No pop up or anything else where I would put in an email address to send to someone. I'm sure its some small thing I overlooked, but darned if I can figure out what. Any ideas?<br /><br />Thanks,<br />Basil
_________________________

Top
#280340 - 10/03/04 08:20 PM Re: IIP6.5 "Recommend Us" not working [Re: BBCG]
scroungr Offline
Old Hand

Registered: 10/17/03
Posts: 2409
Loc: Richmond, VA
see if in your recommendedpal.php file you have the following <br /><br /> // load variables<br /> require("../includes/main.inc.php");<br /> require("$thispath/pals/languages/{$myprefs['language']}/genericpal.php");<br /> require("$thispath/includes/configpal.inc.php");<br /> $html = new html;<br /><br /><br /><br />if so remove those lines and retry it.. then tell me if on front page or sidebar
_________________________
Couchtomatoe - www.couch-tomatoe.cc
My abilities are for hire for installs, upgrades, custom themes and custom modifications.

Top
#280341 - 10/03/04 08:31 PM Re: IIP6.5 "Recommend Us" not working [Re: 234234]
Basil Fawlty Offline
Journeyman

Registered: 10/30/01
Posts: 135
Loc: New Mexico
We're getting close. This time the recommend box came up in the center (above all other PAL boxes). I filled it out with a test (one of my alternate email addys) and clicked send and got this:<br /><br />
Code:
Fatal error: Call to a member function on a non-object in<br /> /home/webadmin/www.myforum.com/ubbthreads/pals/recommenduspal.php on line 100<br />  
<br /><br />Now what? (And thanks!)<br />Basil
_________________________

Top
#280342 - 10/04/04 12:01 AM Re: IIP6.5 "Recommend Us" not working [Re: BBCG]
scroungr Offline
Old Hand

Registered: 10/17/03
Posts: 2409
Loc: Richmond, VA
whats your line 100 of the recommenduspal.php say?
_________________________
Couchtomatoe - www.couch-tomatoe.cc
My abilities are for hire for installs, upgrades, custom themes and custom modifications.

Top
#280343 - 10/04/04 08:48 AM Re: IIP6.5 "Recommend Us" not working [Re: 234234]
Medar Offline
Junior Member

Registered: 03/19/00
Posts: 571
I just commented out the referrer check (these were the lines causing the break), and am waiting to see if I get my own email back.<br /><br />// if (!$config['disablerefer']) {<br />// $html -> check_refer($Cat);<br />// }

Top
#280344 - 10/04/04 08:57 AM Re: IIP6.5 "Recommend Us" not working [Re: 234234]
Basil Fawlty Offline
Journeyman

Registered: 10/30/01
Posts: 135
Loc: New Mexico
[]scroungr said:<br />whats your line 100 of the recommenduspal.php say? [/]<br /><br />I could have sworn I already posted a reply to your question, but I guess I didn't so I will now. Lines 99,100 and 101 are:<br /><br />99>> if (!$config['disablerefer']) {<br />100>> $html -> check_refer($Cat);<br />101>> }
_________________________

Top
#280345 - 10/04/04 09:25 AM Re: IIP6.5 "Recommend Us" not working [Re: BBCG]
scroungr Offline
Old Hand

Registered: 10/17/03
Posts: 2409
Loc: Richmond, VA
try what medar stated.. comment out the referer check
_________________________
Couchtomatoe - www.couch-tomatoe.cc
My abilities are for hire for installs, upgrades, custom themes and custom modifications.

Top
#280346 - 10/04/04 02:04 PM Re: IIP6.5 "Recommend Us" not working [Re: 234234]
Medar Offline
Junior Member

Registered: 03/19/00
Posts: 571
Not too deep into this, I can only access certain stuff from work.<br /><br />However, I received a blank email when I tested this out just now. Will see if I can tinker tonight a bit.<br /><br />And scroungr - if I have not said it before, I totally dig the IIP Control Panel integration!

Top
#280347 - 10/04/04 09:56 PM Re: IIP6.5 "Recommend Us" not working [Re: Intel -*RW*-]
scroungr Offline
Old Hand

Registered: 10/17/03
Posts: 2409
Loc: Richmond, VA
Okay I "think" I have this fixed and need some testers.. can someone test the recommenduspal.php script here for IIP 6.5.. much appreciated...


Attachments
120876-recommenduspal.txt (272 downloads)

_________________________
Couchtomatoe - www.couch-tomatoe.cc
My abilities are for hire for installs, upgrades, custom themes and custom modifications.

Top
#280348 - 10/04/04 10:56 PM Re: IIP6.5 "Recommend Us" not working [Re: 234234]
Basil Fawlty Offline
Journeyman

Registered: 10/30/01
Posts: 135
Loc: New Mexico
[]scroungr said:<br />Okay I "think" I have this fixed and need some testers.. can someone test the recommenduspal.php script here for IIP 6.5.. much appreciated... [/]<br /><br />That works! One small nit though. On the form it asks for "Your Email" (I presume th eemail of the person sending the recommendation goes here) but it doesn't seem to do anything with that field? I entered a bogus email as "Your Email" and then sent it to myself but when I received the recommend email from the system it did not include what I had put in the "Your Email" field. Instead, it put in the email address I use for []webmaster@mysite.com[/]<br /><br />Basil
_________________________

Top
#280349 - 10/05/04 03:49 AM Re: IIP6.5 "Recommend Us" not working [Re: 234234]
Zarzal Offline
Coder

Registered: 07/03/01
Posts: 811
Loc: Berlin, Germany
it works, but not perfect to me. The generated eMail looks like this (I work on german translation for IIP):<br /><br />Hallo <<FRIENDNAMES>>,<br /><br />Zarzal will Dir unsere Webseite gerne empfehlen:<br />http://www.dragonclan-forum.de <br /><br />zusätzliche Nachricht:<br />blubb blubb <br /><br />mit freundlichen Grüßen,<br />[]admin@dragon-clan.de[/]
_________________________
my forum: http://www.dragon-clan.de
my hobby: http://www.biker-reise.de

Top
#280350 - 10/05/04 06:41 AM Re: IIP6.5 "Recommend Us" not working [Re: landyphil]
scroungr Offline
Old Hand

Registered: 10/17/03
Posts: 2409
Loc: Richmond, VA
you may need to fix the other language genricpal.php copy the english one to the selected language and change the values. I don;t know any other languages than American so thats the one I made sure is updated...
_________________________
Couchtomatoe - www.couch-tomatoe.cc
My abilities are for hire for installs, upgrades, custom themes and custom modifications.

Top
#280351 - 10/05/04 06:42 AM Re: IIP6.5 "Recommend Us" not working [Re: BBCG]
scroungr Offline
Old Hand

Registered: 10/17/03
Posts: 2409
Loc: Richmond, VA
actually it gets sent out from the admin but the message should include thesenders email in the body?
_________________________
Couchtomatoe - www.couch-tomatoe.cc
My abilities are for hire for installs, upgrades, custom themes and custom modifications.

Top
#280352 - 10/05/04 07:29 AM Re: IIP6.5 "Recommend Us" not working [Re: landyphil]
Zarzal Offline
Coder

Registered: 07/03/01
Posts: 811
Loc: Berlin, Germany
found my bug in the translation. My fault. I is not FRIENDNAMEs, should be FRIENDNAME and now this work. Sorry.
_________________________
my forum: http://www.dragon-clan.de
my hobby: http://www.biker-reise.de

Top



Latest Posts
[7.2.1] - Naked shoutbox
by bellaonline
05/05/12 05:00 PM
[7.x] Stop Forum Spam Integration v0.4
by bellaonline
05/05/12 03:53 PM
Shout Box

(Views)Popular Topics
Known public proxy servers 1689885
Integrated Index Page (IIP) 5.3.1 555705
Finished-[6.5.2] Games Arcade Deluxe v1.9 501236
Integrated Index Page (IIP) 5.1.1 415112
TLD Bv2.1 Released - Threads Links Directory 396822
[6.0x] Who's Online 4.0.0 [Finished] 389412
Finished-[6.5.1] Integrated Index Page (IIP) 6.5 330423
Q & A 298663
Slash UBB 266936
[6.3.x] [beta] Hit Hack 2.0 227970
Forum Stats
13621 Members
59 Forums
37191 Topics
295716 Posts

Max Online: 686 @ 06/28/07 07:04 AM

 

 

 
fusionbb message board php hacks