PHP Web Host - Quality Web Hosting For All PHP Applications Clan Themes! We make clans look good!!
  Login or Register
 • Home • Downloads • Your Account • Forums • 

View next topic
View previous topic


Google
 
Web RavenPHPScripts (This Site)
Post new topic   Reply to topic
Author Message
rogue3
Regular
Regular


Joined: Jul 02, 2009
Posts: 63

PostPosted: Mon Nov 09, 2009 4:41 pm Reply with quote Back to top

I would like to add polls to my reviews. I found a poll module. Is it possible to take the link to that poll and embed it in the review content field so that the poll shows up in the reviews?

I tried using both the php and the html include commands but they don't seem to work. Any other ideas? The code is there when I view the source but the poll doesn't show up, so I assume I am using the wrong code. It isn't stripping it.
View user's profile Send private message
Palbin
Site Admin


Joined: Mar 30, 2006
Posts: 2456
Location: Pittsburgh, Pennsylvania

PostPosted: Mon Nov 09, 2009 6:05 pm Reply with quote Back to top

rogue3, this isn't as easy as "including" a poll module. For example if you iframe the module you will get the rest of the page. If you where to rewrite it to only show the poll there would be no point to an iframe. You need major coding work if you are looking for a non external poll. This is not something that can be explained to a person with limited knowledge of PHP in a step by step manner.
View user's profile Send private message
rogue3
Regular
Regular


Joined: Jul 02, 2009
Posts: 63

PostPosted: Mon Nov 09, 2009 7:35 pm Reply with quote Back to top

Well, the way I use the nuke modules is actually on a case by case basis, with the module being on a blank page if I don't manually put the wrapper around it. So, I suppose I can try the iframe. When I view the poll by itself it is on a white page all by itself.

I had a feeling this wasn't going to be easy Sad

It never is.
View user's profile Send private message
nuken
RavenNuke(tm) Development Team


Joined: Mar 11, 2007
Posts: 1536
Location: North Carolina

PostPosted: Mon Nov 09, 2009 7:57 pm Reply with quote Back to top

you could open the poll in a colorbox . whatever link you use just give it a class="colorbox" if you just want to use it with a single module and the results are as you wish.
View user's profile Send private message Send e-mail Visit poster's website
Palbin
Site Admin


Joined: Mar 30, 2006
Posts: 2456
Location: Pittsburgh, Pennsylvania

PostPosted: Tue Nov 10, 2009 6:37 am Reply with quote Back to top

nuken, excellent suggestion Smile
View user's profile Send private message
rogue3
Regular
Regular


Joined: Jul 02, 2009
Posts: 63

PostPosted: Tue Nov 10, 2009 6:40 am Reply with quote Back to top

I'm not sure I understand what you are suggesting here with the class="colorbox". I do want to use it with a single module (the reviews module).
View user's profile Send private message
rogue3
Regular
Regular


Joined: Jul 02, 2009
Posts: 63

PostPosted: Tue Nov 10, 2009 9:43 pm Reply with quote Back to top

Just an update. I've edited the poll module successfully to make it on a white background. Then, I was able to use an iframe tag to put it in the review. It all worked like a charm. I don't have one live yet, but when I do I'll post a follow-up here. Thanks for the suggestions!
View user's profile Send private message
Display posts from previous:       
Post new topic   Reply to topic

View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Forums ©
 

All logos and trademarks in this site are property of their respective owner.
The comments are property of their posters, all the rest © 2002-2011 by Raven

You can syndicate our news using the file xml

CSE HTML Validator Helped Clean up This Page! [Valid RSS] valid RSS 2.0 Valid robots.txt Stop Spam Harvesters, Join Project Honey Pot

Website engines core code is © copyright by PHP-Nuke but has been heavily patched and modified by myself and others.
PHP-Nuke is a free software released under the GNU/GPL.


:: fisubice phpbb2 style by Daz :: PHP-Nuke theme by www.nukemods.com ::
:: fisubice Theme Modified by the RavenNuke™ Team ::

:: W3C CSS Compliance Validation :: W3C HTML 4.01 Transitional Compliance Validation ::

zerosum