Search found 40 matches

by Echo Dino
Fri Jun 28, 2019 2:09 pm
Forum: phpBB Custom Coding
Topic: how can i use file based on phpbb out of root folder?
Replies: 5
Views: 862

Re: how can i use file based on phpbb out of root folder?

Brf wrote:
Fri Jun 28, 2019 1:28 pm
I would guess because you have not defined PHPBB_ROOT_PATH.
That should point to your phpbb install. From your include statement, I would guess it should be defined as 'forum/'
Then put back in the line mentioned above.
WORKED! thank you :D
by Echo Dino
Fri Jun 28, 2019 12:31 pm
Forum: phpBB Custom Coding
Topic: how can i use file based on phpbb out of root folder?
Replies: 5
Views: 862

Re: how can i use file based on phpbb out of root folder?

david63 wrote:
Fri Jun 28, 2019 11:40 am
That error is usually because you either have a missing or corrupt vendor folder.
No it's not. Files in root folder are working
by Echo Dino
Fri Jun 28, 2019 11:07 am
Forum: phpBB Custom Coding
Topic: how can i use file based on phpbb out of root folder?
Replies: 5
Views: 862

how can i use file based on phpbb out of root folder?

hello! my root is /forum. i wanted to use phpbb data on the page out of root folder. http://hewan.altervista.org and i did these codes into this: <?php define('IN_PHPBB', true); //$phpbb_root_path = (defined('PHPBB_ROOT_PATH')) ? PHPBB_ROOT_PATH : './'; $phpEx = substr(strrchr(__FILE__, '.'), 1); in...
by Echo Dino
Mon May 27, 2019 3:19 pm
Forum: phpBB Custom Coding
Topic: How do i use current user id for my site?
Replies: 9
Views: 1094

Re: How do i use current user id for my site?

kasimi wrote:
Mon May 27, 2019 3:08 pm

Code: Select all

<input type="hidden" name="userid" value="{{ user.data.user_id }}"><br>
Worked! thank you <3
by Echo Dino
Mon May 27, 2019 1:47 pm
Forum: phpBB Custom Coding
Topic: How do i use current user id for my site?
Replies: 9
Views: 1094

Re: How do i use current user id for my site?

david63 wrote:
Mon May 27, 2019 1:41 pm
I don't see anything in your code that relates to phpBB
how can i relate to phpbb
by Echo Dino
Mon May 27, 2019 12:38 pm
Forum: phpBB Custom Coding
Topic: How do i use current user id for my site?
Replies: 9
Views: 1094

Re: How do i use current user id for my site?

Without seeing the full extent of your code, including the PHP code that is feeding into the template, it is impossible to answer. OK ADOPT.HTML <!-- INCLUDE overall_header.html --> <div align="center"> <h2>Adoption Center (demo)</h2> <br> <br> <div class="panel"> <h4>that's demo only. you can't ad...
by Echo Dino
Mon May 27, 2019 12:09 pm
Forum: phpBB Custom Coding
Topic: How do i use current user id for my site?
Replies: 9
Views: 1094

How do i use current user id for my site?

hi :D i've a little question about current user id need for this form. <form action="test.php" method="get"> <input type="hidden" name="kind" value="1"><br> <input type="hidden" name="user_id" value="???"><br> PetName: <input type="text" name="petname" value=""><br> <input type="submit"> </form> my ...
by Echo Dino
Wed May 22, 2019 8:44 am
Forum: phpBB Custom Coding
Topic: i've problem with customizing navigation bar( does't change?)
Replies: 8
Views: 1114

Re: i've problem with customizing navigation bar( does't change?)

also, when I access your board, the page with no styling shows up for a second before the css actually loads. that should not happen. actually not bug! i just write them when i was newbie and did them with echo "hello!" to show at forum but went to top. i totally haven't tried to delete them but ok...
by Echo Dino
Wed May 22, 2019 8:41 am
Forum: phpBB Custom Coding
Topic: i've problem with customizing navigation bar( does't change?)
Replies: 8
Views: 1114

Re: i've problem with customizing navigation bar( does't change?)

i purged my cache and solved :)


thank you all!
by Echo Dino
Wed May 22, 2019 5:25 am
Forum: phpBB Custom Coding
Topic: i've problem with customizing navigation bar( does't change?)
Replies: 8
Views: 1114

Re: i've problem with customizing navigation bar( does't change?)

Lumpy Burgertushie wrote:
Mon May 20, 2019 6:05 pm
you probably have cloudfare or some other caching system setup on your hosting control panel

turn it off or purge it or whatever,

you also have hellohellohello at the very top of the page.


robert

i tried but nothing happened D:
by Echo Dino
Mon May 20, 2019 4:21 pm
Forum: phpBB Custom Coding
Topic: i've problem with customizing navigation bar( does't change?)
Replies: 8
Views: 1114

Re: i've problem with customizing navigation bar( does't change?)

kinerity wrote:
Mon May 20, 2019 3:53 pm
Delete everything in the /cache/ directory except .htaccess and index.htm?
nothing happened :?

just twig is undeleted
by Echo Dino
Mon May 20, 2019 2:36 pm
Forum: phpBB Custom Coding
Topic: i've problem with customizing navigation bar( does't change?)
Replies: 8
Views: 1114

i've problem with customizing navigation bar( does't change?)

A BIG HELLO on my site on navigation header. wrote "hey" mistaken. that showed on navbar. that's not bug here but when i removed hey from the file i noticed that still displays "hey" removed my cookies, cache . but nothing happened. my site is cranterns.epizy.com if you don't see "hey" on navbar pl...
by Echo Dino
Fri May 17, 2019 7:46 am
Forum: phpBB Custom Coding
Topic: A little changeable picture uses php guide
Replies: 10
Views: 18743

Re: A little changeable picture uses php guide

Sniper_E wrote:
Thu May 16, 2019 4:31 pm
There is a better random image script you could use. It handles all images.

viewtopic.php?p=15253906#p15253236


Isn't that very long? I got confused XD
by Echo Dino
Thu May 16, 2019 7:04 am
Forum: phpBB Custom Coding
Topic: A little changeable picture uses php guide
Replies: 10
Views: 18743

Re: A little changeable picture uses php guide

Code: Select all

<?php 

header( 'Content-Type: image/png' ); 

$id= mt_rand( 0, 2 );
readfile( $id. '.png' );


actually that doesn't work if file name not be number. but it's well code you've suggested :)
by Echo Dino
Wed May 15, 2019 12:55 pm
Forum: phpBB Custom Coding
Topic: A little changeable picture uses php guide
Replies: 10
Views: 18743

Re: A little changeable picture uses php guide

KevC wrote:
Wed May 15, 2019 12:51 pm
What pictures where?
Your post makes no sense at all.
that should be solved right now?

Go to advanced search