[advanced search]
 

Go Back   NamePros.com > Discussion > Web Design & Development > Programming

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


Closed Thread
 
LinkBack Thread Tools
Old 03-27-2006, 01:24 PM   #1 (permalink)
NamePros Regular
 
Celdric's Avatar
 
Join Date: Jul 2005
Posts: 230
186.00 NP$ (Donate)

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, 02:01 PM   #2 (permalink)
Account Closed
 
B33R's Avatar
 
Join Date: Mar 2006
Location: UK
Posts: 1,962
0.00 NP$ (Donate)

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

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, 06:18 PM   #3 (permalink)
NamePros Regular
 
Celdric's Avatar
 
Join Date: Jul 2005
Posts: 230
186.00 NP$ (Donate)

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 06:21 PM.
Celdric is offline  
Old 03-28-2006, 03:49 PM   #4 (permalink)
Senior Member
 
nasaboy007's Avatar
 
Join Date: Jul 2005
Location: NJ
Posts: 1,112
1,454.30 NP$ (Donate)

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 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, 10:22 PM   #5 (permalink)
NamePros Regular
 
Celdric's Avatar
 
Join Date: Jul 2005
Posts: 230
186.00 NP$ (Donate)

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

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Site Sponsors
Advertise your business at NamePros

All times are GMT -7. The time now is 04:05 AM.


Powered by: vBulletin® Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0
Template-Modifications by TMS
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85