PDA

View Full Version : Help w/ v3 Article Module


integra99
09-16-2004, 04:58 AM
I've made a hack for v3 articles (https://vborg.vbsupport.ru/showthread.php?t=65934) to display the featured article on the frontpage of your portal page(https://vborg.vbsupport.ru/showthread.php?t=69424), in my case, vbIndex. Problem is, I can't get one line to work like I want :(

$featuredarticle = unserialize($datastore['featuredarticle']);

No matter what I did, I could not get the unserialize function to work. What am I doing wrong?

integra99
09-18-2004, 09:40 PM
No one?

Dean C
09-18-2004, 10:06 PM
Put this before the line:


echo $datastore['featuredarticle'] . '<br /><br />';


And this after:


print_r($featuredarticle);


Do this on your testboard not live board and see what it outputs at the top of the page :)

integra99
09-19-2004, 05:55 AM
It's not returning anything :( Ths is the same command used in v3 articles, but it won't work in my hack :(