TinyPortal

Development => Support => Topic started by: Kill Em All on January 22, 2009, 05:13:57 PM

Title: getting stuff in blocks
Post by: Kill Em All on January 22, 2009, 05:13:57 PM
Hello everyone at tinyportal.  i have a mod called treasury, it is a donations mod, and i want it in a block. i followed their instructions on how to get it in a block, but when i click save a block doesnt even show up. i talked it over on their forums, http://resourcez.biz/index.php?topic=370.0 and they are thinking its a problem with TP. maybe with how i have it configured. can you guys suggest anything from this?

my site is www.keagaming.com

if anything else is needed just let me know. thanks
Title: Re: getting stuff in blocks
Post by: JPDeni on January 22, 2009, 05:31:12 PM
I'm afraid I can't debug code unless I see it.
Title: Re: getting stuff in blocks
Post by: IchBin on January 22, 2009, 05:33:31 PM
There is not much we can do about other mods. Most of us have never even used that mod. Wouldn't know why their code isn't working.
Title: Re: getting stuff in blocks
Post by: Kill Em All on January 22, 2009, 05:34:41 PM
what code do you need? i might beable to supply it. :)
Title: Re: getting stuff in blocks
Post by: JPDeni on January 22, 2009, 05:46:09 PM
The code that you put in your block. I can't tell what's wrong with your block unless I know what's in it. :)

Please use the code tags (the # button on the reply form) so that the code displays properly.

Also, what kind of box did you put it in?

But IchBin is right in that, unless we are familiar with the mod, we likely won't be able to tell you what is wrong with it. It's possible that something will jump out when I look at the code, but don't hope for too much. :)
Title: Re: getting stuff in blocks
Post by: ZarPrime on January 22, 2009, 05:49:04 PM
It would also help if you would Please follow the instructions at this link so that we may know how to help you --- > Please read the Posting Guidelines (http://www.tinyportal.net/index.php/topic,581)

We need more than just the url of your site.  It could be something as simple as not turning the block on, but we have no idea.  We need for you to tell us what you have done to this point.

ZarPrime
Title: Re: getting stuff in blocks
Post by: Kill Em All on January 22, 2009, 06:01:12 PM
i put it in a phpbox, and the code that goes into the box is-
global $sourcedir;
include("$sourcedir/DonationBlock.php");


thats all the code, i attached the mod if  you are interested.

and for the posting guidelines-
www.keagaming.com
SMF 1.1.7
TP 1.0.6
theme name- Alienation design by Bloc
mods installed-
1.     URL Popup      1.0      
2.    Treasury    2.32    
3.    XFire Field    1.4    
4.    Auto Embed Video/Audio Clips    3.1.2    
5.    Lots_o_Smileys    1.0    
6.    SMF 1.0.14 / 1.1.6 Update    1.0    
7.    TinyPortal    1.063    
8.    SMF 1.0.15 / 1.1.7 Update    1.0    
9.    SMF 1.0.13 / 1.1.5 / 2.0 b3.1 Update    1.0    
10.    TinyPortal    1.052    
11.    Spoiler Tag    0.6    
12.    SMF 1.0.14 / 1.1.6 Update    1.0
13.    Are You Human? Anti-Bot Registration Check    1.3

Error messages. im not getting any.

btw, my attachment might say 2.11, but its actually the latest mod.
Title: Re: getting stuff in blocks
Post by: Kill Em All on January 22, 2009, 06:11:33 PM
wait, nevermind, im sorry, i figured out why it wasnt working, i didnt have it set to display on any pages, i was enabled, but it just didnt have the check marks to display on other pages. thanks for all your help anyways.

sorry for wasting your time. thanks again
Title: Re: getting stuff in blocks
Post by: G6Cad on January 22, 2009, 08:01:53 PM
Ill mark this to solved then  :up: