[phpBB Debug] PHP Warning: in file [ROOT]/phpbb/session.php on line 561: sizeof(): Parameter must be an array or an object that implements Countable
[phpBB Debug] PHP Warning: in file [ROOT]/phpbb/session.php on line 617: sizeof(): Parameter must be an array or an object that implements Countable
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 494: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 494: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 494: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 494: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 494: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 494: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 494: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 494: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 494: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 494: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 494: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 494: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 494: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 494: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 494: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 494: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 494: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 494: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 494: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 494: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 494: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 494: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 494: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 494: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 494: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 494: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 113: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 113: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 5312: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3925)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 5312: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3925)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 5312: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3925)
phpBBModders.net • Using variables for other pages on index possible?
Page 1 of 1

Using variables for other pages on index possible?

Posted: 17 Jun 2007, 05:33
by Frost
Using variables on index possible?


I've been playing around with smilies and I am wondering what all would be involved in getting the posting body's smiley box/popup box to show up on another page. In this particular question I am wanting to be able to use it on the index_body

I know I can't use the normal variables, so what would I have to include to be able to pull the info there as well?

As a bonus it would be nice to know how to get the smiley to be input in a text box as well (like it does for posting body) ((when you click the smiley it automatically enters the code))

I figured once I figure out how to let index_body use posting_body's code, it would probably work

Thanks in advance

Re: Using variables for other pages on index possible?

Posted: 17 Jun 2007, 12:44
by igorw
Do you want this to add smilies to handymans shoutbox mod? Just curious...

Re: Using variables for other pages on index possible?

Posted: 18 Jun 2007, 12:45
by Frost
Yes that is part of the reason I originally thought about it, but I figured out a way to do the smilies for the chat already without using the posting body's code.

If it's all the same, now it has me curious on other things I could do with this, like using particular parts of a board on another page. Sort of like having a portal without actually having a portal.

For example I would want to add handy information from all over the board in one place on the index. I think this would have the same issues but I haven't tried it yet.

Re: Using variables for other pages on index possible?

Posted: 20 Jun 2007, 14:49
by Frost
I take it I hit some sort of nerve asking this question here? I didn't know it would matter what the question was for as it was a phpbb mod question.

Seems to be a lot of this going around.
Sorry to bother you all with my questions about phpbb modding, I must have miss-interpreted the symbolism of the site's name.

Re: Using variables for other pages on index possible?

Posted: 22 Jun 2007, 12:38
by igorw

Re: Using variables for other pages on index possible?

Posted: 22 Jun 2007, 12:39
by igorw

Re: Using variables for other pages on index possible?

Posted: 22 Jun 2007, 17:23
by Frost
I do not think you should have given me any help after the post I made. I was irritated at my inability to solve something on my own and after seeing most of my posts get skipped over at startrek, and never even commented on, I assumed that since you are a member there too, that I had done something wrong there and you were ignoring this post because of the relation.

After reading my post above I realize the harsh nature of it now, and I apologize.

I did not need the smiley code anymore because I figured out a hard way around it, but it does help me in the new question I asked here.

I will completely understand if you decide to remove my account here. After the way I've been treated at several support sites for asking questions, I've become rather jumpy, and since have devoted all my energies to giving back with styles and being as friendly and helpful as possible to give people a break from it. I've tainted that with what I've said here, and again I apologize.

Thank you eviL<3

Re: Using variables for other pages on index possible?

Posted: 22 Jun 2007, 17:52
by Frost
Out of curiosity I tried the above for the smilies, and the variables aren't defined in posting.php for some of them, they are in includes/functions_posting

I thought the code would be different, so didn't try

Also, the smilies_allowed part wouldn't be required would it, since it's just to make them not show if they smilies have been turned off?

Re: Using variables for other pages on index possible?

Posted: 23 Jun 2007, 17:12
by igorw