- Moderated by:
- Support
-
- rank:
-
Softmore
- registered:
- December 1969
- Status:
- offline
- last visit:
- 21.12.05
- Posts:
- 62
Downloaded the blocks from technivore site.
Expanded the blocks into directories as specified in the zip file. The blocks show on my homepage in the required position but don't seem to be picking up the adverts.
None of the blocks dispaly any live info. When I look in the Create blocks in Admin, the blocks seem to be listed as core blocks. Other modules seem to have a subfolder called pnblocks but PN_zClassifieds does not seem to.
If I create this pnblocks folder and put the files in there I get language errors (i.e. variable_names instead of english words.)
Any ideas?
tx,
Simon -
- rank:
-
Professional
- registered:
- January 2004
- Status:
- offline
- last visit:
- 05.09.08
- Posts:
- 633
I see a lot of problem with these blocks if you are using PostNuke .750 or .760
- they use a $prefix global (you can try to replace the global $prefix; line by $prefix = pnConfigGetVar('prefix'); to see if it fix this problem)
- but the worst thing is that they assume that the connexion to the database is open so they will not work as they are.
Unfortunately when i corrected a lot of things in PN_Zclassifieds (you can download my corrected version here : http://www.vedrine.n…download-sid-2.html) I forgot about the blocs because I don't use them.
I have a lot of work now but if you tell me what block you want the most, I will try to quickly recode it so that it work with .750 and .760
--
Visit my live reef aquarium.
My Amazon wish list. -
- rank:
-
Softmore
- registered:
- December 1969
- Status:
- offline
- last visit:
- 21.12.05
- Posts:
- 62
jmvedrine,
Thanks for your kind offer,
I'll download your updated version of PN_Zclassifieds (I'm using PN 7.50) and if you could do the "last ads" block I'd be very grateful, along with loads of other people as well I suspect
.
Thanks,
Simon -
- rank:
-
Professional
- registered:
- January 2004
- Status:
- offline
- last visit:
- 05.09.08
- Posts:
- 633
You can try to download the "Modifieds blocks for PN_zClassifieds" here : http://www.vedrine.n…download-sid-2.html. I tested them under PostNuke .750 and they seem to work now.
Please note an important change : all files now go to the modules/PN_zClassifieds directory, so don't forget to delete the old versions from the includes/blocks directory. If you forget to do that, errors will be displayed when you try to create the blocks.
If anything goes wrong, please report.
--
Visit my live reef aquarium.
My Amazon wish list. -
- rank:
-
Professional
- registered:
- September 2004
- Status:
- offline
- last visit:
- 10.11.08
- Posts:
- 815
Jmvedrine,
Tried using these blocks under .760 RC4 and they show up as CORE\block name in the add new block select list.
Then, if attempting to add them, Add Block screen returns the block does not exist. BUT, they do register and display gooblygook - bad language defines, message that block doesn't exist or can't be found, etc.
They are in the pnblocks folder in modules/PN_Zclassifieds...
Strange, I thought the CORE\ or MODULENAME\ designation came straight from the pnblocks folder the files resided in.
I can't get them to show up as anything other than CORE\ no matter where I place them.
However, if placing them in the includes/blocks directory, they work fine - except that the language files are not included for some reason. I couldn't find an include statement for them, so just added my own. Are the language inclusions for blocks an automatic PostNuke operation?
Nolan M.
UHEweb
I seem to be utilizing a lot of your hard work lately
I'll have to make room for a subsidy in the next paid project I take on that uses some of of your fixes.
-
- rank:
-
Professional
- registered:
- January 2004
- Status:
- offline
- last visit:
- 05.09.08
- Posts:
- 633
Hello,
I have made new version of the blocks for PN_zClassifieds and this time I REALLY tested them under PostNuke .760 because I had the same problems that some of you with my previous version on some websites I tested them on.
Technically they are now "new type" blocs so should have no problem with .726, .750 and .760
Some more work would be required to make these blocks really "clean" blocks (port queries, clean the code) but I don't have the time.
Some notes:
- the name of all the files (including pnlang ones) has changed so don't forget to suppress all old blocks and to delete all old files from your server
- the name of the module is now hardcoded everywhere (was necessary) so they will NOT work if your module is not named PN_zClassifieds.
The link is still the same : http://www.vedrine.n…download-sid-2.html.
To uheweb : no problem, my best rewarding is to see my work used on some websites : When I visit a website for the first time and see one of my modules used, it's still a great joy for me. My lifestyle doesn't require a lot of money, only enought to have a persian cat, a reef aquarium and buy old Meccano sets, and my job as a statistics teacher take largely care of that
But thanks a lot for saying that anyway.
--
Visit my live reef aquarium.
My Amazon wish list.
