Welcome to the E-Blah Community!
We would like to welcome you to our community and invite you to register an account or login.
Being a registered member is important, as it gives you several advantages over the normal Guest status. After registering you will be able to download files and images, post messages, and access member-only portions of the forum - just to name a few. Registration is quick and simple, and only takes about a minute of your time.

E-Blah Community    Modifications    Mod Requests and Support  ›  Add PHP Code Inside Your Template Moderators: 10 Series Support Team
Users Browsing Forum
No Members and 1 Guests

Add PHP Code Inside Your Template  This thread currently has 1,295 views. Print
1 Pages 1 Recommend Thread
Sgt_Rumble
February 20, 2007, 5:25am Report to Moderator Report to Moderator

E-Blah Member
Posts: 8
Posts Per Day: 0.01
Time Online: 5 hours 3 minutes
Is there a way to add php code to your template.


Logged Offline
Private Message Private message
Martin
February 20, 2007, 7:16am Report to Moderator Report to Moderator

I love E-Blah
10 Series Support Team
Posts: 4,558
Gender: Male
Posts Per Day: 3.13
Reputation: 98.60%
Reputation Score: +211 / -3
Time Online: 35 days 19 hours 25 minutes
Location: UK
Age: 50
You should be able to use:

Code
<?php
your php command
?> 



Martin's Reputation: Increase
Logged Offline
Site Site Private Message Private message Reply: 1 - 10
Justin
February 20, 2007, 11:54am Report to Moderator Report to Moderator

The E-Blah Developer
E-Blah Programmer
Posts: 15,075
Gender: Male
Posts Per Day: 6.52
Reputation: 93.40%
Reputation Score: +297 / -21
Time Online: 36 days 23 hours 27 minutes
Location: Tallassee, AL
Age: 22
No, you cannot.


I do installs for $25 and upgrades for $20.
Technical support is always free.

  Donate to E-Blah!  

My Websites: Revolution Reality (My Blog)  |  MinistryTalk.com  |  Portfolio

"But you, O Lord, are a compassionate and gracious God, slow to anger, abounding in love and faithfulness." — Psalm 86:15 NIV

Logged Offline
Site Site Private Message Private message Reply: 2 - 10
iCONICA
November 5, 2008, 2:40pm Report to Moderator Report to Moderator

E-Blah Member
Posts: 762
Gender: Male
Posts Per Day: 2.38
Reputation: 97.14%
Reputation Score: +34 / -1
Time Online: 11 days 3 hours 13 minutes
Location: Manchester UK
Why not justin? Both this and my own forum uses php in the template to add the notification welcome message for guests...  



The Best Free Online Technical Support Community! (Click Here)

i-CONICA's Reputation: Increase

Visit The Best Free Technical Support Community In The World!
Logged Offline
Site Site Private Message Private message Windows Live Messenger WLM Reply: 3 - 10
BattleMage
November 6, 2008, 2:23am Report to Moderator Report to Moderator
E-Blah Member
Posts: 77
Gender: Male
Posts Per Day: 0.04
Reputation: 100.00%
Reputation Score: +1 / -0
Time Online: 1 days 38 minutes
Location: Ammerbuch, Germany
Age: 27
I can imagine that it's not that easy to call a php parser from perl. And I don't really see why someone even want's to run php from within perl
Logged Offline
Private Message Private message Reply: 4 - 10
iCONICA
November 6, 2008, 8:16am Report to Moderator Report to Moderator

E-Blah Member
Posts: 762
Gender: Male
Posts Per Day: 2.38
Reputation: 97.14%
Reputation Score: +34 / -1
Time Online: 11 days 3 hours 13 minutes
Location: Manchester UK
Well it's done here, if you log out you'll see a notification welcoming guests. If you go to my forum you'll see a similar welcome. Those are php within the template.



The Best Free Online Technical Support Community! (Click Here)

i-CONICA's Reputation: Increase

Visit The Best Free Technical Support Community In The World!
Logged Offline
Site Site Private Message Private message Windows Live Messenger WLM Reply: 5 - 10
BattleMage
November 7, 2008, 4:30am Report to Moderator Report to Moderator
E-Blah Member
Posts: 77
Gender: Male
Posts Per Day: 0.04
Reputation: 100.00%
Reputation Score: +1 / -0
Time Online: 1 days 38 minutes
Location: Ammerbuch, Germany
Age: 27
Well done then. How did you manage to run php code? I don't see where php would be run when I log out or in
Logged Offline
Private Message Private message Reply: 6 - 10
iCONICA
November 7, 2008, 7:33am Report to Moderator Report to Moderator

E-Blah Member
Posts: 762
Gender: Male
Posts Per Day: 2.38
Reputation: 97.14%
Reputation Score: +34 / -1
Time Online: 11 days 3 hours 13 minutes
Location: Manchester UK
That. It's PHP inside the template, Justin posted it in another thread, It's now being used in my forum to achieve similar results.



This post contains attachments; to download them you must login.




The Best Free Online Technical Support Community! (Click Here)

i-CONICA's Reputation: Increase

Visit The Best Free Technical Support Community In The World!
Logged Offline
Site Site Private Message Private message Windows Live Messenger WLM Reply: 7 - 10
Van_Helsing
November 25, 2008, 12:29pm Report to Moderator Report to Moderator
E-Blah Member
Posts: 1
Posts Per Day: 0.13
Time Online: 17 minutes
So as much as I get it, it is posible? Then how? It's just so, that it would be much easier to integrate the forum design into my websyte engine.
Logged Offline
Private Message Private message Reply: 8 - 10
iCONICA
November 25, 2008, 4:01pm Report to Moderator Report to Moderator

E-Blah Member
Posts: 762
Gender: Male
Posts Per Day: 2.38
Reputation: 97.14%
Reputation Score: +34 / -1
Time Online: 11 days 3 hours 13 minutes
Location: Manchester UK
Not sure I understand? This thread is discussing if it's possible to put PHP code inside the template.html of eBlah. Not if it's possible to run eblah in a php webpage.. If that's what you mean... Maybe I misunderstood?

PS, yes it is possible to run php code inside the template, but aslong as it's at the bottom, but there's a little more to it than that.. martin helped me with mine.
, I'm 95% sure Justin is using it too.. Because it was his code I'm using, posted on another thread somewhere..



The Best Free Online Technical Support Community! (Click Here)

i-CONICA's Reputation: Increase

Visit The Best Free Technical Support Community In The World!
Logged Offline
Site Site Private Message Private message Windows Live Messenger WLM Reply: 9 - 10
Justin
November 27, 2008, 12:53am Report to Moderator Report to Moderator

The E-Blah Developer
E-Blah Programmer
Posts: 15,075
Gender: Male
Posts Per Day: 6.52
Reputation: 93.40%
Reputation Score: +297 / -21
Time Online: 36 days 23 hours 27 minutes
Location: Tallassee, AL
Age: 22
That's Perl, not PHP.  You are using <? ?>, like PHP uses (if short tags are enabled), but E-Blah just evaluates the perl within those blocks.  No PHP is involved.


I do installs for $25 and upgrades for $20.
Technical support is always free.

  Donate to E-Blah!  

My Websites: Revolution Reality (My Blog)  |  MinistryTalk.com  |  Portfolio

"But you, O Lord, are a compassionate and gracious God, slow to anger, abounding in love and faithfulness." — Psalm 86:15 NIV

Logged Offline
Site Site Private Message Private message Reply: 10 - 10
1 Pages 1 Recommend Thread
Print

E-Blah Community    Modifications    Mod Requests and Support  ›  Add PHP Code Inside Your Template