NamePros
Welcome, Guest! Ready to make a name for yourself in the domain business? We welcome both the hobbyist and professional domainer to join the discussion as part of the NamePros community.

Click here to create your profile to start earning reputation for posting, and trader ratings for buying & selling in our free e-marketplace. Build your trader rating with each successful sale. Our system has tracked over 100,000 sales and counting!
FAQ & TOS Register Search Today's Posts Mark Forums Read

Go Back   NamePros.com > Website Development Discussion Forums > Programming
Reload this Page Mk Portal anyone? - 25 NP$

Programming PHP, Perl, Ruby on Rails, AJAX, HTML, XHTML, CSS, JavaScript, MySQL and any other coding topics.

Advanced Search


Closed Thread
 
LinkBack Thread Tools
Old 03-27-2006, 02:24 PM THREAD STARTER               #1 (permalink)
NamePros Regular
 
Celdric's Avatar
Join Date: Jul 2005
Posts: 230
Celdric will become famous soon enoughCeldric will become famous soon enough
 



Mk Portal anyone? - 25 NP$


Hi. Not sure if it's the right place to post. However it's a php problem.
I'm using MK Portal and would like to display polls generated by a 3rd party poll script in a custom center block. But seems that the php code that displays the polls gets not executed.

http://forumshowcase.net

Please scroll a little down to see the custom poll block.

I tested the polls on a seperate php site. And they all work.

Well, I'm a php Rookie. Any hint how to get the poll block working would be appreciated. For a solution I would pay 25 NP$.
__________________
Cosplay Trend
Celdric is offline  
Old 03-27-2006, 03:01 PM   #2 (permalink)
Account Closed
 
B33R's Avatar
Join Date: Mar 2006
Location: UK
Posts: 1,951
B33R has much to be proud ofB33R has much to be proud ofB33R has much to be proud ofB33R has much to be proud ofB33R has much to be proud ofB33R has much to be proud ofB33R has much to be proud ofB33R has much to be proud ofB33R has much to be proud ofB33R has much to be proud of
 

Member of the Month
October 2006
Cancer
You mean where it shows "poll_process(2); ?>" rather than the poll?

That means there's some sort of error in your code. Probably a simple mistake on someones part.
You can post the poll code here and see if anyone can see where the error is.
B33R is offline  
Old 03-27-2006, 07:18 PM THREAD STARTER               #3 (permalink)
NamePros Regular
 
Celdric's Avatar
Join Date: Jul 2005
Posts: 230
Celdric will become famous soon enoughCeldric will become famous soon enough
 



Thanks for the response. Yes, that's what I mean. Well, the code in general is working. As I mentioned I made a testsite.

It's at

http://forumshowcase.net/ptest.php


Code:
<?php include_once "/home/forumsho/public_html/polltv/booth.php"; echo $php_poll->poll_process(3);
Btw, the actual poll question are meant for another of my sites. I just use them here as placeholder.
__________________
Cosplay Trend
Last edited by Celdric; 03-27-2006 at 07:21 PM.
Celdric is offline  
Old 03-28-2006, 04:49 PM   #4 (permalink)
Senior Member
 
nasaboy007's Avatar
Join Date: Jul 2005
Location: NJ
Posts: 1,219
nasaboy007 has much to be proud ofnasaboy007 has much to be proud ofnasaboy007 has much to be proud ofnasaboy007 has much to be proud ofnasaboy007 has much to be proud ofnasaboy007 has much to be proud ofnasaboy007 has much to be proud ofnasaboy007 has much to be proud ofnasaboy007 has much to be proud of
 



it seems to be working fine now, but just incase, the code you posted doesnt have a ?> closing tag.
nasaboy007 is offline  
Old 03-28-2006, 11:22 PM THREAD STARTER               #5 (permalink)
NamePros Regular
 
Celdric's Avatar
Join Date: Jul 2005
Posts: 230
Celdric will become famous soon enoughCeldric will become famous soon enough
 



Thanks for the hint, Nasaboy. I guess I made a mistake when I copied it. The original code has the end tag. However, I worked almost the entire day on it. Finally I used IFrames. I'm not quite happy with it, but it's okay.

Thanks for your response.
__________________
Cosplay Trend
Celdric is offline  
Closed Thread


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools


Liquid Web Smart Servers  
All times are GMT -7. The time now is 12:26 AM.

Managed Web Hosting by Liquid Web
Domain name forum recommended by Domaining.com Powered by: vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.6.0 Ad Management plugin by RedTyger