Clan Adverts

Sponsors

CT on Facebook

Latest Product

User Box

Anonymous
38.107.179.219
Nickname:

Password:

Security Code
Security Code
Type Security Code


PND Downloads Feed

Phpnuke Downloads
How to Delete or Reset yo...
How to Delete or Reset your PHPNuke Admin Account
Lost your admin password ?  Cant login to your admin account ? This s...
Back Online & Stuff
Back Online & Stuff
Look at us with our nifty website back up and running… Seriously...
How to edit the admins in...
How to edit the admins in the forums
Here is a way to make someone admin in your forums on your Evo site. I...
Demo Splash Screen
Demo Splash Screen
Ped @ Clan Themes has released a simple splash screen entrance hack. ...
Free Phpnuke Business The...
Free Phpnuke Business Theme 6
This is the 6th Business theme for Phpnuke that Clan Themes has releas...
Tricked Out Slider
Tricked Out Slider
We have seen some great new things come out of Tricked Out News and th...

Custom Work

PHP Nuke Custom Work

www.clanthemes.com :: View topic - review categories module JReviews is stripping html code - p
review categories module JReviews is stripping html code - p

7 Replies / 3103 Views


Post new topic   Reply to topic  

   www.clanthemes.com Forum Index » Modules

View previous topic :: View next topic


fr34k123
Reputation: 473 Add RepSubtract Rep
Local time: 8:00 AM

uk.gif

Armour Whore
Armour Whore

0.02 posts per day
Medals: 0

Joined: May 19, 2007
Last Visit: 11 Nov 2008
Posts: 43
Points: 695 

Post review categories module JReviews is stripping html code - p Posted: Sat May 19, 2007 1:09 pm

Hi wondered if someone could help me out.

im using nuke 7.9 which has been fully patched and running an up to date version of nuke sentinal.
up until recently i have been using the bog standard review module that came with phpnuke. however this module makes it very difficult for users to navigate and search through the stored reviews.
I have come accross a reviews catgory module for phpnuke called JReviews. It works in the same way as the old review module but adds categories to the reviews index page (making it much easier for navigation/searching)
I have uploaded the module and carried out the sql dump in phpmyadmin, activated the module and proceeded to add a new review. This is where the problem starts.

It appears that the actual review module is stripping away all the html coding used when you add a new review. This obviously means no bold/italic/centering of images/underlining and so on.
Is there a way to stop this module from doing this?
Im a bit of a noob when it comes to coding and so wouldn't have a clue what to add/remove from the module index.php file.

I have posted this problem elsewhere but to no avail and no replies.
I would be more than happy to place a banner/button on my site and allow and copywrites to be added to the review module for the person who could help me out with this problem.

i have tried pasting the code of the module, but get blocked from the site for an attempted scripting attack when i do so. If anyone can help with this please pm me and i can send you the whole code for this module

You help is greatly apreciated
Thanks
darren

PC Freaks & Geeks
 

 
View user's profileSend private messageSend e-mailVisit poster's website Reply with quote

floppy
Reputation: 2088.8 Add RepSubtract Rep
votes: 22
Local time: 3:00 AM
Location: Jackson Mississippi
usa.gif

Site Admin
Site Admin

1.16 posts per day
Medals: 2 (View more...)
Super Dedicated User (Amount: 1)
Scripts/Coder
Scripts/Coder
Joined: Nov 14, 2006
Last Visit: 03 May 2012
Posts: 2353
Points: 132516 

Post Posted: Sat May 19, 2007 3:10 pm

Shop Purchases:
Clan Roster 2.0 · Multi Gaming (Warrior) Evo Theme · COD6 ModernWarfare 2 Teaser Splash Screen · Left for Dead Evo Extreme Version

I had the some of the similiar problems with this module so I dropped it. Fixing it is just something the author is going to need to do as I couldn't follow his coding style.
 

Phpnuke Downloads | VMaxxRx Male Enhancement  
View user's profileSend private messageVisit poster's website Reply with quote

fr34k123
Reputation: 473 Add RepSubtract Rep
Local time: 8:00 AM

uk.gif

Armour Whore
Armour Whore

0.02 posts per day
Medals: 0

Joined: May 19, 2007
Last Visit: 11 Nov 2008
Posts: 43
Points: 695 

Post Re: Posted: Sat May 19, 2007 6:10 pm

Hi Floppy
I have posted this problem on every phpnuke forum i can find and with no replies or signs of help.

Do you know of a similar review categories module? as at the moment it is very hard for our users/guests to navigate through our reviews index if they dont know the specific product name.

See i did create a review catgories page from simple html table code, as you can imagine updating this on a regular basis is very time consuming.

I would be willing to place a banner on my site and am more than willing to have any copywrites left on a reviews categories module for anyone that could create me one.

I wouild really apreciate any help you could give me, as a review site it is very important we have something that is very user friendly.

Thanks
Darren
www.pcfrags.com
 

 
View user's profileSend private messageSend e-mailVisit poster's website Reply with quote


floppy
Reputation: 2088.8 Add RepSubtract Rep
votes: 22
Local time: 3:00 AM
Location: Jackson Mississippi
usa.gif

Site Admin
Site Admin

1.16 posts per day
Medals: 2 (View more...)
Dedication (Amount: 1)
Scripts/Coder
Scripts/Coder
Joined: Nov 14, 2006
Last Visit: 03 May 2012
Posts: 2353
Points: 132516 

Post Posted: Sat May 19, 2007 8:42 pm

Shop Purchases:
Clan Roster 2.0 · Multi Gaming (Warrior) Evo Theme · COD6 ModernWarfare 2 Teaser Splash Screen · Left for Dead Evo Extreme Version

Did you try posting on the forums of the author who created the mod?
 

 
View user's profileSend private messageVisit poster's website Reply with quote

fr34k123
Reputation: 473 Add RepSubtract Rep
Local time: 8:00 AM

uk.gif

Armour Whore
Armour Whore

0.02 posts per day
Medals: 0

Joined: May 19, 2007
Last Visit: 11 Nov 2008
Posts: 43
Points: 695 

Post Re: Posted: Sat May 19, 2007 10:01 pm

hi Floppy
I have emailed the author and am awaiting a reply back.
Ok heres the thing - i have now managed to get the review module to accept the following html code:
bold, italic, underline, aligning and the list tag. The only two things that wont work is the img code (to insert images) and the pagebreak code (so you can have multiple pages)

It says underneath the test box when you write a new review:
If you want multiple pages you can write <pagebreak> where you want to cut.
Your actual review. Please observe proper grammar! Make it at least 100 words, OK? You may also use HTML tags if you know how to use them.

i did this but all i get is the <pagebreak> text displayed within the review (and no separate page)

any ideas?
thanks for all your help
 

 
View user's profileSend private messageSend e-mailVisit poster's website Reply with quote

floppy
Reputation: 2088.8 Add RepSubtract Rep
votes: 22
Local time: 3:00 AM
Location: Jackson Mississippi
usa.gif

Site Admin
Site Admin

1.16 posts per day
Medals: 2 (View more...)
Dedication (Amount: 1)
Scripts/Coder
Scripts/Coder
Joined: Nov 14, 2006
Last Visit: 03 May 2012
Posts: 2353
Points: 132516 

Post Posted: Sat May 19, 2007 10:04 pm

Shop Purchases:
Clan Roster 2.0 · Multi Gaming (Warrior) Evo Theme · COD6 ModernWarfare 2 Teaser Splash Screen · Left for Dead Evo Extreme Version

Lets talk about what it allows first! Where does it get the array for what it allows?
 

 
View user's profileSend private messageVisit poster's website Reply with quote


fr34k123
Reputation: 473 Add RepSubtract Rep
Local time: 8:00 AM

uk.gif

Armour Whore
Armour Whore

0.02 posts per day
Medals: 0

Joined: May 19, 2007
Last Visit: 11 Nov 2008
Posts: 43
Points: 695 

Post Re: Posted: Sat May 19, 2007 10:06 pm

do you have msn?
 

 
View user's profileSend private messageSend e-mailVisit poster's website Reply with quote

fr34k123
Reputation: 473 Add RepSubtract Rep
Local time: 8:00 AM

uk.gif

Armour Whore
Armour Whore

0.02 posts per day
Medals: 0

Joined: May 19, 2007
Last Visit: 11 Nov 2008
Posts: 43
Points: 695 

Post Re: Posted: Sat May 19, 2007 10:24 pm

hi
just wanted to let you know that ive managed to insert images into the review module by using a different img code:

instead of using:
Code:
<img src="images/reviews/swat/banner.jpg"><


i used:
Code:
<img src="images/reviews/swat/banner.jpg" height="122" width="160" align="middle" border="0">


the only problem i can see now is the pagebreak code doesn't work
 

 
View user's profileSend private messageSend e-mailVisit poster's website Reply with quote
Post new topic   Reply to topic  
   www.clanthemes.com Forum Index » Modules


 
7 Replies / 3103 Views
Page 1 of 1
All times are GMT
Display posts from previous:   
 
Jump to:  
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
You cannot attach files in this forum
You can download files in this forum