Theme Layer: PM box in static welcome message not working

Oct 20, 2012 20:44

Hey guys! So, I'm working with theme layers for the first time in a commission (live-testing at taanugim) and, while I've tried and searched and tried some more, I cannot for the life of me get this embedded PM box to work. It worked for about... a day? But only for me specifically.

When the girl who owns the journal (and another friend of mine) tried to use it, it took them to the PM page and asked them to resubmit it whereas, when it worked for me, it did what it was supposed to: Send the PM directly from the journal's Recent Entries page and took me to the Message Sent page.

Now, though, I'm getting the error as well, so fuck if I know what's wrong lmao. I'm out of my depth. Any help would be much appreciated!

This, obviously, uses the coding provided by afuna, seen here, restyled to match the layout and with a PM box included. As I said, I'm live-testing at taanugim, so if you want to test the PM box for yourself, feel free.

The relevant portion of my theme layer:

function RecentPage::print_body
{
        if (size $.entries == 0 )
        {
        """

$*text_noentries_recent

""";
    }
    else
    {
        if( $.nav.skip == 0 and $.view != "friends")
        {
## this part is optional
#        var string userpic = """
""";
#        var string poster = """
s2flexisquared""";
#        var string upic_container = """
$userpic$poster""";
        var string upic_container = "";

var string subject = "Welcome to Ta’anugim";

print """

$upic_container

Welcome to Ta’anugim, your resource for the delights of kosher cooking!
This site is meant to serve as a small repository of tried and true recipes from my own kitchen as well as those shared by family and friends or discovered over the years from around the globe. I will strive to include original sources if and when possible but some of these recipes have been jotted down on scraps of paper at random points and I no longer know where many of them come from.

If you feel that I have posted a recipe in error (be it with incorrect ingredients or methods, or if you believe it to be taken from a source without due credit) please let me know immediately. It is entirely possible that I do not have sources to credit and I would appreciate any assistance you may offer if you do know the origins of any of the recipes listed here. (In the event of such an occurrence, any recipes that may be removed I will strive to find a new link/source to share with you so you can still find them.)

That’s about it, folks! All I can say is that I hope you enjoy these delectable offerings.

Happy cooking!
S xx

Suggest a Recipe

""";
      }

foreach var Entry e ($.entries)
    {
       $this->print_entry($e);
      }
   }
}

I'm so sorry if I should have included more infortmation! Just let me know, and I'll be sure to add it.

misc, paid accounts

Previous post Next post
Up