Firefox PHP

Template: Coffee Shop

Posted by Ravenswood 
All files from this thread

File Name File Size   Posted by Date  
coffeeshop.png 92.1 KB open | download Ravenswood 06/17/2009 Read message
coffeeshop.zip 112.2 KB open | download Ravenswood 07/14/2009 Read message
cplogo.jpg 12.4 KB open | download natchezjohn 08/31/2009 Read message
coffeeq.png 28.8 KB open | download Ravenswood 09/01/2009 Read message
Template: Coffee Shop
June 17, 2009 08:59AM
This template is called "Coffee Shop".

This template is for Phorum 5.2.

To see a live preview, click here.

-------------------------------------------------------------------
"When given a choice, always choose monkeys."


Re: Template: Coffee Shop
July 14, 2009 01:02PM
Version 1.3

Template has been updated to provide built-in support for the following modules:
* User Avatar
* User List
* New Message Icon
* (Built-in support for the Announcements module was already present in previous versions.)

Minor tweaks.

-------------------------------------------------------------------
"When given a choice, always choose monkeys."
Attachments:
open | download - coffeeshop.zip (112.2 KB)
Add additional image to coffe shop theme heading
August 31, 2009 06:15PM
Would love to add this on the left of the heading. Can I ? - How?


Re: Template: Coffee Shop
September 01, 2009 03:36PM
To the left of the header? Do you mean like in the attached image?

If that's what you want, here's how to do it:

In the header.tpl file for the template, look for this section:

      {ELSEIF NAME}
        {! This is a forum page other than a read page or a folder page }
        <span class="h1 heading">{NAME}</span class="h1">

And add-in a link to your image like this:

      {ELSEIF NAME}
        {! This is a forum page other than a read page or a folder page }
        <span style="float: left; margin: 0px 10px 15px 0px;">
            <img src="image.gif">
        </span>
        <span class="h1 heading">{NAME}</span class="h1">

That section prints the headings for several different kinds of pages, so you'll probably want to add this to more than one of them. Like this, maybe:

    {! This <div> holds info about the active page (heading and description) }
    <div id="page-info">

      {IF HEADING}
        {! This is custom set heading }
          <span class="h1 heading">{HEADING}</span class="h1">
        {IF HTML_DESCRIPTION}
          <div class="description">{HTML_DESCRIPTION}</div>
        {/IF}
      {ELSEIF MESSAGE->subject}
        {! This is a threaded read page }
        <span style="float: left; margin: 0px 10px 15px 0px;">
            <img src="image.gif">
        </span>
        <span class="h1 heading">{MESSAGE->subject}</span class="h1">
      {ELSEIF TOPIC->subject}
        {! This is a read page }
        <span style="float: left; margin: 0px 10px 15px 0px;">
            <img src="image.gif">
        </span>
        <span class="h1 heading">{TOPIC->subject}</span class="h1">
        <div class="description">{LANG->Postedby} {IF TOPIC->URL->PROFILE}<a href="{TOPIC->URL->PROFILE}">{/IF}{TOPIC->author}{IF TOPIC->URL->PROFILE}</a>{/IF}&nbsp;</div>
      {ELSEIF NAME}
        {! This is a forum page other than a read page or a folder page }
        <span style="float: left; margin: 0px 10px 15px 0px;">
            <img src="image.gif">
        </span>
        <span class="h1 heading">{NAME}</span class="h1">
        {IF HTML_DESCRIPTION}
          <div class="description">{HTML_DESCRIPTION}&nbsp;</div>
        {/IF}
      {ELSE}
        {! This is the index }
        <span style="float: left; margin: 0px 10px 15px 0px;">
            <img src="image.gif">
        </span>
        <span class="h1 heading">{TITLE}</span class="h1">
        {IF HTML_DESCRIPTION}
          <div class="description">{HTML_DESCRIPTION}&nbsp;</div>
        {/IF}
      {/IF}

    </div> <!-- end of div id=page-info -->

Let me know how that works for you, or if you need any more help. Thanks.

- Jim

-------------------------------------------------------------------
"When given a choice, always choose monkeys."


can't send pm's with the new coffee cup template
January 18, 2011 04:03PM
now i can't send pm's because when i try i get this big error message

The data that you have submitted to the server have been rejected, because it looks like they were posted by an automated bot.

i called my hosting company and they don't know what it means . can anyone help please?
Re: can't send pm's with the new coffee cup template
January 18, 2011 04:06PM
The template probably is not up-to-date for some hack protection that was build into the most recent versions of Phorum.

Try editing the pm_post.tpl.
Search the line that starts with <form action="...etc...
Right after that line, add {POST_VARS}, so the code ends up looking somewhat like this:

<form action="{URL->ACTION}" method="post">
    {POST_VARS}

After that, I think the PM post will work.


Maurice Makaay
Phorum Development Team
my blog linkedin profile secret sauce
Re: can't send pm's with the new coffee cup template
January 18, 2011 04:42PM
your right that fixed it. your a genius thank you
Sorry, only registered users may post in this forum.

Click here to login