Referral System

Started by SMFHacks.com Team, March 03, 2008, 01:02:01 PM

Previous topic - Next topic

djrem

Many thanks for your mod, however in firefox, i cant get the drop down list of members that one has reffered to display.

my site is:
Www.voguefm.co.uk/forum/index.php

i have ultimate profile but when i disable, it is not showing on my default profile either, just as you see there.

Fustrate

Can you show me exactly what code you're using? And does it work in any other browser?
Steven Hoffman
Former Team Member, 2009-2012

djrem

which files would you like me to upload?

ultimateprofiletemplate.php
profiletemplate.php
and anything from the Sources?

Many thanks in advanced for your response

Fustrate

Steven Hoffman
Former Team Member, 2009-2012

djrem


Hoodie

Not exactly sure if this has been discussed..  When someone clicks the name of their referrer in the search box, can we get the pop-up window to close?  I noticed if you click a name and then search again and click another name, two names will show up on the registration page..

Fustrate

CCCC: Not that I am aware of, that would have to be a change in the way SMF itself works.

djrem: is there an UltimateProfile.php file in /Sources/ ? Sorry for the late response on this...
Steven Hoffman
Former Team Member, 2009-2012

humantaperecorder

Hi there YodaOfDarkness/Spookness (Halloween, huh?)

Hope you're well.

Still can't get it to display correctly.

I just took a look at the Display.template.php file in the Alak theme's folder and modified it as per the instructions.

I modified both with and without line-breaks; still nothing. No change.

I also looked at default/Display.template.php as well as the other two in the default folder and they all appear to have been modified okay with the installation of the package.

Any ideas?   ???

------------------------------------------

Also, I still don't know why I have the following duplication of files. What is the difference between the ones with the tilda and the ones without? Could this be causing the problem?


Display.template.php
Display.template.php~
Profile.template.php
Profile.template.php~
Stats.template.php
Stats.template.php~

Thanks very much. You're help is definitely appreciated.

HTR

Fustrate

The ones with tildes (~) at the end are backups from before you installed your most recent modification. It a mod edits Display.php, Load.php, and index.php, it will create copies of those files before it actually modifies them so that if something goes wrong, you can restore them.

Anyways try taking out the linebreaks and using two seperate <li></li>s, to force them to go to seperate lines.
Steven Hoffman
Former Team Member, 2009-2012

Sudhakar Arjunan

Hi Yoda of spookness,

I have two forum on using 1.1.6 - forum.sitename.com

Another one using 2.0.4 - discuss.sitename.com

I have installed new 2.0.4 compactable referral mod in discuss 2.0.4 forum.

I have copied the tables in 1.1.6 and updated those tables in discuss 2.0.4 forum.

Now it shows all the users perfectly and everywhere it shows perfectly.

But when guest like to register with some referral, they get a error msg saying - Invalid argument is sent.

And without referral the registration went smooth.
Working on New Mods & Themes for SMF... Will update soon... My Blog page
My Smf forum : Discuss ITAcumens :: My SMF Forum

Fustrate

did you update the column names in the 2.0 table? If I recall correctly, 1.1.6 uses columnName whereas 2.0 uses column_name. Check to make sure they're all in that format (word_word not wordWord)
Steven Hoffman
Former Team Member, 2009-2012

mackay12

im getting the message this package is not valid or corrupt.

Fustrate

Are you using the correct mod package (1.1.x vs. 2.0)?
Steven Hoffman
Former Team Member, 2009-2012

Sudhakar Arjunan

Quote from: YodaOfSpookness on October 17, 2008, 07:31:53 PM
did you update the column names in the 2.0 table? If I recall correctly, 1.1.6 uses columnName whereas 2.0 uses column_name. Check to make sure they're all in that format (word_word not wordWord)

Hi YodaOfSpookness,

I have checked and the smf_members table shows all the referrals options field name as well as all were perfectly displayed in my phpmyadmin.

In my forum also, it shows referral link and all such, Problem only in registration feed.

But one thing, even though it shows, invalid argument supplied.

But the user is created. without any referral under it.
Working on New Mods & Themes for SMF... Will update soon... My Blog page
My Smf forum : Discuss ITAcumens :: My SMF Forum

Fustrate

What's the exact error on the invalid argument? Does it tell you what column, and in what file (it'll be Register.php)
Steven Hoffman
Former Team Member, 2009-2012

Sudhakar Arjunan

An Error Has Occurred!
Wrong value type sent to the database. Integer expected. 


It shows error.

But when i search the board page, it shows the user is registered, and found there is no referral under it.
Working on New Mods & Themes for SMF... Will update soon... My Blog page
My Smf forum : Discuss ITAcumens :: My SMF Forum

Sudhakar Arjunan

Apply Filter: Only show the errors of this type  Type of error: Critical
Apply Filter: Only show the error messages of this URL http://discuss.itacumens.com/index.php?action=register2
Apply Filter: Only show the errors with the same message
Wrong value type sent to the database. Integer expected.
Function: updateMemberData
Apply Filter: Only show the errors from this file
File: /home/itacumen/public_html/discuss/Sources/Subs.php
Line: 553
Working on New Mods & Themes for SMF... Will update soon... My Blog page
My Smf forum : Discuss ITAcumens :: My SMF Forum

Fustrate

It's not actually an error in Subs.php - it's in Register.php.

attach your Register.php file to post and I'll take a look.
Steven Hoffman
Former Team Member, 2009-2012

Sudhakar Arjunan

Yes Thank you YodaOfSpookness.

Here goes my register php file.
Working on New Mods & Themes for SMF... Will update soon... My Blog page
My Smf forum : Discuss ITAcumens :: My SMF Forum

General_Naga

Quote from: asudhakar on October 18, 2008, 04:00:01 PM
Wrong value type sent to the database. Integer expected.

I'm getting this error... none of the others though

btw. nice new name Yoda :)

Advertisement: