Adding graphics to the website...

General questions pertaining to how certain issues can be resolved
Forum rules
1. No offensive language and no mocking
2. Please do a thorough search before you post something. Trust us, there is a high probability that the question you are asking has been asked previously.
3. No soliciting. You cannot post here soliciting bids for people offer you quotes, or even offer money to people for some work. You will be moderated if you do so. If you are looking for help, please post your request on http://jobs.wordpress.net or http://codepoet.com
4. Please be reasonable. You are getting software and support. For free. Complicated requests from a general purpose theme are not welcome and some volunteers might lose patience with you.
5. Please do your due diligence. If you posted a query and we answered with a link, take the trouble to go through the link contents.
6. Please post with complete information. Requests for help MUST be accompanied with your URL, particularly if you are asking something like "Why am I seeing a blank space?"

Re: Adding graphics to the website...

Postby Colin » 29 Apr 2012, 04:38

Pixel error don't know I am head scratching like Drake and Sayontan.

Plugin recommendations you may be best asking at Wordpress.org.

3: I use the Mingle forum and there is just such a widget for that. If you want to change forum you could use that. You could also roll your own in a php widget area. It is what i did on one of my sites with wp-forum.
Colin
 
Posts: 2800
Joined: 27 Oct 2009, 10:46

Re: Adding graphics to the website...

Postby JCBN » 29 Apr 2012, 07:29

Thanks Colin, i really like the simple press forum though, was so easy to setup, im tempted to just purchase support, but to expensive, if it was 1 time fee, id do it.

And for the RSS i am looking for a plugin/widget that can handle this link for example: http://us.battle.net/d3/en/forum/blizztracker/?page=1

Nevermind, i did another approach to it, used so it works now....

Is it possible to change color on the text, in different widgets under Sidebar 1 for example?

so this for example have a BLUE colored text? <h3 class="dbx-handle plain">Latest Blue Posts</h3>
Last edited by JCBN on 29 Apr 2012, 08:58, edited 1 time in total.
JCBN
 
Posts: 37
Joined: 21 Apr 2012, 02:39

Re: Adding graphics to the website...

Postby Colin » 29 Apr 2012, 08:58

I just put Feed widget into wordpress.org and got loads of results, maybe worth trying a few of those.

Below is the code that I used to pull the latest feed from wp-forum (not very elegant but it works). You may be able to use this as the starting point for what you want from Simple Press. BTW Mingle is dead easy to set up too.

Code: Select all
<?php
function truncate_string($details,$max)
{
    if(strlen($details)>$max)
    {
        $details = substr($details,0,$max);
        $i = strrpos($details," ");
        $details = substr($details,0,$i);
        $details = $details." ..... ";
    }
    return $details;
}

$result = mysql_query("SELECT subject, text FROM wp_forum_posts order by date DESC limit 1");

while($row = mysql_fetch_array($result))
  {
  echo "<b>". $row['subject']."</b>";
  echo "<br />";
     
$txt=stripslashes($row['text']);
$text = truncate_string($txt,310);
echo $text;
  echo "<br />";
  }



Hope this helps.
Colin
 
Posts: 2800
Joined: 27 Oct 2009, 10:46

Re: Adding graphics to the website...

Postby JCBN » 30 Apr 2012, 06:56

Thanks for the reply Colin.

Dunno about last forum post plugin, wondering if i should change...

Anyone here know a "livestream widget/plugin"? that works with twitch.tv or own3d.tv ?
JCBN
 
Posts: 37
Joined: 21 Apr 2012, 02:39

Previous

Return to Support Requests

Who is online

Users browsing this forum: blooxyoscible, evelvecom and 5 guests