TinyPortal

Development => Support => Topic started by: CoreyLewis on September 28, 2011, 06:42:51 PM

Title: Scrolling recent topic problem?
Post by: CoreyLewis on September 28, 2011, 06:42:51 PM
I used this post to make a php scrolling topic and i got this error on my site :

QuoteFatal error: Call to undefined function tp_query() in /home/thegame2/public_html/Sources/Load.php(2160) : eval()'d code(114) : eval()'d code on line 80

Please help?

Thanks
Title: Re: Scrolling recent topic problem?
Post by: IchBin on September 28, 2011, 07:03:32 PM
CoreyLewis, on the new topic screen you should see a list of things we ask for you to type when requesting support. If you don't provide those things we cannot help without the information.
Title: Re: Scrolling recent topic problem?
Post by: CoreyLewis on September 28, 2011, 07:39:15 PM
am very sorry :( i forgot :

Link to my site: http://www.thegamerfusionz.co.uk
SMF version: latest
TP version: latest 2?
Default Forum Language: english
Theme name and version: smf default
Browser Name and Version: firefox
Mods installed: Nice tool tip and tiny portal

also the post i got code from :http://www.tinyportal.net/index.php?topic=31639.0
Title: Re: Scrolling recent topic problem?
Post by: IchBin on September 28, 2011, 09:49:32 PM
In TP1.0 RC2 tp_query() was removed in favor of using SMF's $smcFunc functions. If you are using some code from this site, please post a link to what you are using so we can look to see if the code needs to be updated for it to work with SMF2.
Title: Re: Scrolling recent topic problem?
Post by: WillyP on September 28, 2011, 10:18:20 PM
He did post a url: [Discussion] Recent TOPICS scrolling with hover over previews. (http://www.tinyportal.net/index.php?topic=31639.0)
Title: Re: Scrolling recent topic problem?
Post by: IchBin on September 29, 2011, 03:03:50 AM
Quote from: WillyP on September 28, 2011, 10:18:20 PM
He did post a url: [Discussion] Recent TOPICS scrolling with hover over previews. (http://www.tinyportal.net/index.php?topic=31639.0)

Well I have no idea which code he took from which post. Most often in topics that are several pages long there is more than one version or something. Don't really feel like wasting my time trying to figure that out.
Title: Re: Scrolling recent topic problem?
Post by: CoreyLewis on September 29, 2011, 03:38:30 PM
Quote from: IchBinâ,,¢ on September 29, 2011, 03:03:50 AM
Quote from: WillyP on September 28, 2011, 10:18:20 PM
He did post a url: [Discussion] Recent TOPICS scrolling with hover over previews. (http://www.tinyportal.net/index.php?topic=31639.0)

Well I have no idea which code he took from which post. Most often in topics that are several pages long there is more than one version or something. Don't really feel like wasting my time trying to figure that out.

i tryed them all and i got the same error
Title: Re: Scrolling recent topic problem?
Post by: lurkalot on September 29, 2011, 07:08:10 PM
Quote from: CoreyLewis on September 29, 2011, 03:38:30 PM

i tryed them all and i got the same error


Hi Corey.  It would have been handy if you'd posted the actual code you were already using, you could have grabbed it from your site and post it up here using the [code][/code] tags