Fork me on GitHub

Need help with new pnForum theme  Bottom

Go to page [-1] 1 - 2:

  • Doh! Fixed the mail problem... gawd, it's been like that for a month too... icon_redface
  • Wendell

    craigh

    Warning: Smarty error: pnimg: attribute src required in /home/soundwe/PostNuke-0.762/html/includes/classes/Smarty/Smarty.class.php on line 1088

    I'm afraid I can't help on that one. :(


    here's a bit more information from the source:

    Code

    <span class="post-rank">site admin<br />
                  <br />
    <b>Warning</b>:  Smarty error: pnimg: attribute src required in <b>/home/soundwe/PostNuke-0.762/html/includes/classes/Smarty/Smarty.class.php</b> on line <b>1088</b><br />

            <!--<img src="[ $post.poster_data.rank_image ]" alt="[ $post.poster_data.rank ]" [ $post.poster_data.rank_image_image_attr.3 ] />-->
                </span>


    so, the issue is with ranks, not avatars. As I said, this is probably my fault, but I'm having trouble tracking this issue down. I think Smarty is getting a null value for the src argument. would you have any ideas why?
  • Did you get that error with the default pnForum theme? You might want to check to make sure the ranks images are actually there. I'm just pulling out random ideas, but it's worth a shot. ;)
  • If I switch the whole site to ExtraLite, the problem goes away... hmmmm.
  • OK - In pnforum_user_viewtopic.html, I changed:

    Code

    <!--[pnimg src=$post.poster_data.rank_image_name alt=$post.poster_data.rank]-->
    to:

    Code

    <!--[pnimg src=$post.poster_data.rank_image alt=$post.poster_data.rank]-->

    and now my error is:

    Code

    Warning: Smarty error: pnimg: image modules/pnForum/pnimages/ranks/twostars.gif not found in /home/soundwe/PostNuke-0.762/html/includes/classes/Smarty/Smarty.class.php on line 1088


    which is VERY odd, because if you go to that path:
    http://www.soundwebd…/ranks/twostars.gif
    the image is most definately THERE...

    so? :?
  • BTW -I'm still not getting mail from your site... :(
  • so, I changed it to this:

    Code

    <img src="<!--[ $post.poster_data.rank_image ]-->" alt="<!--[ $post.poster_data.rank ]-->" <!--[ $post.poster_data.rank_image_image_attr.3 ]--> />


    which works, but isn't quite as elegant ans pnimg
  • Yep, I tried everything I could think of without referencing your post (to see if we came to the same conclusion) and came up with the same code as you. That's the only thing I could get to work. The bug is fixed as far as I'm concerned! :)

    Tests show that email is going thru, but I did send a couple to you from inside the MailUsers and Mailer modules in hopes that you receive them.
  • Hi:

    Nice. One question tou, are these themes ready for pnForum 2.7? Also, I have a question about the pnjavascript dir (pnForum 2.7).

    I know Ajax folder goes into ---> /html/javascript/

    But what about the other files at pnjavascript ?? Those remains in modules/pnForum/pnjavascript???

    I am having problem with the Admin Console, forum reorder. Unless it is related with my setup (PHP 5.1.2)... I am using latest cvs.

    Anyone with an answer please PM me to not change the thread focus.

    Sorry, but I think someone here could help me clarify the problem.

    wink

Go to page [-1] 1 - 2:

  • 0 users

This list is based on users active over the last 60 minutes.