Search found 708 matches

by kkroo
Sun Jan 01, 2006 11:53 am
Forum: [2.0.x] MOD Writers Discussion
Topic: Includes in TPL
Replies: 3
Views: 230

Includes in TPL

i saw b4 in a MOD this in a TPL file

Code: Select all

<!-- INCLUDE PAGE_NAME.tpl -->
i came to try it, and it doesn't work, is there a way i can get it to work?


Thanks
by kkroo
Sat Dec 24, 2005 8:49 am
Forum: [2.0.x] MOD Writers Discussion
Topic: need help (REALLY EASY!)
Replies: 15
Views: 1940

ok,
i need help with mySQL now,

normally to update something i do this

UPDATE `upload` SET `*` = '*' WHERE `id` = * LIMIT 1

and id is a number

i want to make it so that i can also do this:

UPDATE `upload` SET `*` = '*' WHERE `file-id` = * LIMIT 1

and file-id = ex. file.zip


is it possible?
by kkroo
Fri Dec 23, 2005 10:29 am
Forum: [2.0.x] MOD Writers Discussion
Topic: need help (REALLY EASY!)
Replies: 15
Views: 1940

by kkroo
Fri Dec 23, 2005 9:54 am
Forum: [2.0.x] MOD Writers Discussion
Topic: need help (REALLY EASY!)
Replies: 15
Views: 1940

it doesn't work, it just comes out blank :(

here is my file uploading process script http://pastebin.com/476418


Sorry for the troubles
by kkroo
Fri Dec 23, 2005 8:07 am
Forum: [2.0.x] MOD Writers Discussion
Topic: need help (REALLY EASY!)
Replies: 15
Views: 1940

I also think that there is something wrong with the setting of my mySQL db, i manually inserted this into it:

Code: Select all

<?php download_count('02_06_55_cellpic3.gif'); ?>
and it just comes out blank.

is there a certain type of text i should asign it?
by kkroo
Fri Dec 23, 2005 7:16 am
Forum: [2.0.x] MOD Writers Discussion
Topic: need help (REALLY EASY!)
Replies: 15
Views: 1940

i am trying to make it into a variable so i can put it into the db, here is what i wrote $size = '<?php download_size('\'' . $image_list[3] . '\''); ?>' $downloads = '<?php download_count('\'' . $image_list[3] . '\''); ?>' i get this [quote] Warning: Unexpected character in input: '\' (ASCII=92) sta...
by kkroo
Thu Dec 22, 2005 10:11 pm
Forum: [2.0.x] MOD Writers Discussion
Topic: need help (REALLY EASY!)
Replies: 15
Views: 1940

well this is for an upload form, it says the amount of time the file has been downloaded and its size, here is the script:

[Code removed, see this: http://pastebin.com/475756 ]

Moderator Edit: Please don't post whole files like that again...
by kkroo
Thu Dec 22, 2005 10:04 pm
Forum: [2.0.x] MOD Writers Discussion
Topic: need help (REALLY EASY!)
Replies: 15
Views: 1940

that doesnt seem to work, there are not even the ' ' that the script needs, it should look like this download_count('file.zip');

i was thinking something like this download_count("'"'.$image_list[3].'"'"); but that doesnt work!
by kkroo
Thu Dec 22, 2005 9:26 pm
Forum: [2.0.x] MOD Writers Discussion
Topic: need help (REALLY EASY!)
Replies: 15
Views: 1940

need help (REALLY EASY!)

i need help, this ( download_count('.$image_list[3].'); ) is suppost to result like this download_count('file.zip'); but it only turns out like this download_count(file.zip); the variable uses up the ' ', i want to know how to insert another set of ' ' just to make the code work properly! thanks
by kkroo
Thu Dec 22, 2005 6:44 am
Forum: [2.0.x] MOD Writers Discussion
Topic: Stripping chars
Replies: 4
Views: 933

why dont you try it?
by kkroo
Wed Dec 21, 2005 12:42 pm
Forum: [2.0.x] MOD Writers Discussion
Topic: color variables
Replies: 3
Views: 504

thanks a lot!
by kkroo
Wed Dec 21, 2005 12:23 pm
Forum: [2.0.x] MOD Writers Discussion
Topic: color variables
Replies: 3
Views: 504

color variables

as you know, when one of the templates are selected, phpbb knows the body background and puts it into this variable {T_BODY_BACKGROUND}, i was wondering if there is a variable that writes the color in this form #000000.

(hopefully u understand wat i mean :roll: )

Thanks
by kkroo
Tue Dec 20, 2005 3:41 pm
Forum: [2.0.x] MOD Writers Discussion
Topic: Need help with a hack
Replies: 5
Views: 1133

by kkroo
Tue Dec 20, 2005 2:48 pm
Forum: [2.0.x] MOD Writers Discussion
Topic: Need help with a hack
Replies: 5
Views: 1133

hey, i like the hack, but i have a question, is there a way i could make it into a drop down menu?

Go to advanced search