Jump to content
InvisionCommunity.de - Der Deutsche Invision Community Support
Sign in to follow this  
iq996

Punkt auf den Umschlägen bei "Neue Beiträge"?

Recommended Posts

Warum wird bei der Funktion "Neue Beiträge" der Punkt nicht auf den Umschlägen angezeigt (Beiträge in denen ich geschrieben habe)?

Kann man das irgendwie ändern, gibt es dafür einen Mod?

Danke.

Share this post


Link to post

Das ist nichts wildes und in knapp 5 Minuten realisiert. ;)

Hab ich eben gemacht, brauche nur ein paar Leute zum testen.

Share this post


Link to post

@iq996: Brauch deine Mailadresse per PM.

@GreyCrow: Hast es ja schon am normalen Ort gefunden, nun warte ich nur noch auf Testergebnisse. ;)

Share this post


Link to post

So, erst mal auf diesem Wege vielen Dank für den MOD!

Ich habe den bei mir im Forum eingebaut (www.elferteam.de) und was soll ich sagen, es läuft perfekt. Danke!

Share this post


Link to post

Nachtrag doch ein Fehler

mySQL query error: SELECT DISTINCT(po.author_id) as icon_check, t.*, f.id as forum_id, f.name as forum_name, f.mod_topicstatus as forum_mod_topicstatus

       FROM ibf_topics t, ibf_forums f

       LEFT JOIN ibf_posts po ON 

     	 (t.tid=po.topic_id AND po.author_id=1)

      WHERE t.tid IN(1794,1616,1791,1792,1266,1687,1575,1615,1793,1779,1715,1757,1500,1481,1737,1

22,1735,1587,1580,1061,1763,571,1785,1728,1786) and f.id=t.forum_id

      ORDER BY last_post desc LIMIT 0,25


mySQL error: Unknown column 'f.mod_topicstatus' in 'field list'

mySQL error code: 

Date: Saturday 09th of July 2005 03:43:43 PM

Share this post


Link to post

Das ist nicht unbedingt ein Fehler, da hat sich nur ein zweiter Mod eingeschlichen.

Ihr bezieht euch sicher auf

>>> Suchen: [NEU]


  $DB->query("SELECT t.*, f.id as forum_id, f.name as forum_name

               FROM ibf_topics t, ibf_forums f

              WHERE t.tid IN($topic_string) and f.id=t.forum_id

              ORDER BY ".$this->sort_key." ".$this->sort_order." LIMIT 0,25");

   	 

>>> Ersetzen durch:


  if ( ($ibforums->vars['show_user_posted'] == 1) and ($ibforums->member['id']) )

  {	

   	 

 	 $DB->query("SELECT DISTINCT(po.author_id) as icon_check, t.*, f.id as forum_id, f.name as forum_name, f.mod_topicstatus as forum_mod_topicstatus

       FROM ibf_topics t, ibf_forums f

       LEFT JOIN ibf_posts po ON 

     	 (t.tid=po.topic_id AND po.author_id=".$ibforums->member['id'].")

      WHERE t.tid IN($topic_string) and f.id=t.forum_id

      ORDER BY ".$this->sort_key." ".$this->sort_order." LIMIT 0,25");

  }

  else

  {

 	 $DB->query("SELECT t.*, f.id as forum_id, f.name as forum_name, f.mod_topicstatus as forum_mod_topicstatus

       FROM ibf_topics t, ibf_forums f

      WHERE t.tid IN($topic_string) and f.id=t.forum_id

      ORDER BY ".$this->sort_key." ".$this->sort_order." LIMIT 0,25");  

  }
Der Ersetzen Teil sollte folgendermaßen lauten:
  if ( ($ibforums->vars['show_user_posted'] == 1) and ($ibforums->member['id']) )

  {	

   	 

 	 $DB->query("SELECT DISTINCT(po.author_id) as icon_check, t.*, f.id as forum_id, f.name as forum_name

       FROM ibf_topics t, ibf_forums f

       LEFT JOIN ibf_posts po ON 

     	 (t.tid=po.topic_id AND po.author_id=".$ibforums->member['id'].")

      WHERE t.tid IN($topic_string) and f.id=t.forum_id

      ORDER BY ".$this->sort_key." ".$this->sort_order." LIMIT 0,25");

  }

  else

  {

 	 $DB->query("SELECT t.*, f.id as forum_id, f.name as forum_name

       FROM ibf_topics t, ibf_forums f

      WHERE t.tid IN($topic_string) and f.id=t.forum_id

      ORDER BY ".$this->sort_key." ".$this->sort_order." LIMIT 0,25");  

  }

Also einfach überall das auftauchende ", f.mod_topicstatus as forum_mod_topicstatus" entfernen. Dabei handelt es sich um Teile eines anderen Mods, deshalb einfach ignorieren/weglassen.

Grey

Edited by GreyCrow

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this  

×