Editing the forum blocks code?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • anthonyparsons
    Senior Member
    • Mar 2005
    • 2597

    #16
    I would suggest you rebuild your styles via the maintenance and see if that fixes the problem, because it sounds as though some type of conflict is occurring at time of editing. I have edited these blocks in my own styles and had no such issues, so this is something at your end when editing. I would try that first.

    Comment

    • Noctavia
      Senior Member
      • May 2006
      • 346

      #17
      Already tried that a couple of times. Just tried again then to be sure, still same issue that my unedited theme is not showing avatars.

      I've just had another two people tell that, using the site default (dark - unedited them), one sees avatars, and one does not.

      Comment

      • anthonyparsons
        Senior Member
        • Mar 2005
        • 2597

        #18
        I would look towards running a repair on your styles table, as you possibly have something corrupt within it.

        Comment

        • Bacon Butty
          Senior Member
          • Jun 2005
          • 162

          #19
          Originally posted by Noctavia
          On my PC right now, I see no avatars with the site theme (the dark one I've never altered). Clearing my cache doesn't change that.

          If I go to something like hidemyass.com to view via a proxy, and use the link in this thread above (styleid=1) which IS altered, I see avatars again.

          If it was my cache that was the issue, wouldn't I still see no avatars regardless of a proxy IP?

          This just doesn't make any sense at all...
          Agreed. It's baffled me. I have the same problem on my site. I just can't get rid of the damn avatars!

          Comment

          • Wayne Luke
            vBulletin Technical Support Lead
            • Aug 2000
            • 74122

            #20
            After making changes did you clear your caches? The results of those blocks are cached and they will continue to pull from the cache until rebuilt.

            For the record, I don't see any avatars on the link from post #7.

            If you still do then post the generated code as I originally asked.
            Translations provided by Google.

            Wayne Luke
            The Rabid Badger - a vBulletin Cloud demonstration site.
            vBulletin 5 API

            Comment

            • Noctavia
              Senior Member
              • May 2006
              • 346

              #21
              Yes I cleared the cache, I've already said that I did multiple times. Along with going as far as to reboot my PC, check a different browser and all sorts of other tricks.

              What "generated code"? You asked for the code I was altering which I supplied, no where do I see you asking for generated cod...

              Comment

              • anthonyparsons
                Senior Member
                • Mar 2005
                • 2597

                #22
                What the browser is showing is possibly what Wayne is referring too vs. what you have within your style. View source....

                Comment

                • Noctavia
                  Senior Member
                  • May 2006
                  • 346

                  #23
                  View source shows:

                  Code:
                  <div class="block smaller">
                  		<div class="blocksubhead">
                  			<a class="collapse" id="collapse_block_newthreads_1" href="forum.php#top"><img alt="" src="images/BP-Brown/buttons/collapse_40b.png" id="collapseimg_newthreads_1"></a>
                  			<img src="images/BP-Brown/cms/widget-forum.png" alt="">
                  			<span class="blocktitle">Latest Forum Threads</span>
                  		</div>
                  		<div id="block_newthreads_1" class="blockbody floatcontainer">
                  			<ul class="blockrow">
                  				
                  				<li class="avatarcontent floatcontainer">
                  					<a class="smallavatar">
                  						
                  						<img title="" src="images/BP-Brown/misc/unknown.gif" alt="" width="30">
                  						
                  					</a>
                  					<div class="smallavatartext">
                  						<a href="showthread.php/66-Ten-Ton-Hammer-Live-Interviews-En..." class="title">Ten Ton Hammer Live Interviews En...</a>
                  						<br>
                  						<div class="meta">
                  							
                  							Posted By <a href="member.php/2-Alexan">Alexan</a> (0 Replies)
                  							<br>Yesterday <span class="time">09:30 AM</span> in <a href="forumdisplay.php/14-TERA-News-and-Information">TERA News and Information</a>
                  							
                  						</div>
                  					</div>
                  				</li>
                  				
                  				<li class="avatarcontent floatcontainer">
                  					<a class="smallavatar">
                  						
                  						<img title="" src="images/BP-Brown/misc/unknown.gif" alt="" width="30">
                  						
                  					</a>
                  					<div class="smallavatartext">
                  						<a href="showthread.php/65-Screenshots-of-the-Week-Set-4" class="title">Screenshots of the Week: Set 4</a>
                  						<br>
                  						<div class="meta">
                  							
                  							Posted By <a href="member.php/2-Alexan">Alexan</a> (0 Replies)
                  							<br>Yesterday <span class="time">08:56 AM</span> in <a href="forumdisplay.php/16-In-Game-Screenshots">In-Game Screenshots</a>
                  							
                  						</div>
                  					</div>
                  				</li>
                  				
                  				<li class="avatarcontent floatcontainer">
                  					<a class="smallavatar">
                  						
                  						<img title="" src="images/BP-Brown/misc/unknown.gif" alt="" width="30">
                  						
                  					</a>
                  					<div class="smallavatartext">
                  						<a href="showthread.php/64-F8L-Fool-s-Modified-Currency-System" class="title">F8L-Fool's Modified Currency System</a>
                  						<br>
                  						<div class="meta">
                  							
                  							Posted By <a href="member.php/2-Alexan">Alexan</a> (0 Replies)
                  							<br>06-02-2010 <span class="time">09:52 PM</span> in <a href="forumdisplay.php/8-General-Discussion">General Discussion</a>
                  							
                  						</div>
                  					</div>
                  				</li>
                  				
                  				<li class="avatarcontent floatcontainer">
                  					<a class="smallavatar">
                  						
                  						<img title="" src="images/BP-Brown/misc/unknown.gif" alt="" width="30">
                  						
                  					</a>
                  					<div class="smallavatartext">
                  						<a href="showthread.php/60-Archer-Class-Outline" class="title">Archer Class Outline</a>
                  						<br>
                  						<div class="meta">
                  							
                  							Posted By <a href="member.php/2-Alexan">Alexan</a> (0 Replies)
                  							<br>06-01-2010 <span class="time">08:57 PM</span> in <a href="forumdisplay.php/22-The-Archer-s-Archive">The Archer's Archive</a>
                  							
                  						</div>
                  					</div>
                  				</li>
                  				
                  				<li class="avatarcontent floatcontainer">
                  					<a class="smallavatar">
                  						
                  						<img title="" src="images/BP-Brown/misc/unknown.gif" alt="" width="30">
                  						
                  					</a>
                  					<div class="smallavatartext">
                  						<a href="showthread.php/59-Tera-Online-Character-Customizing" class="title">Tera Online Character Customizing</a>
                  						<br>
                  						<div class="meta">
                  							
                  							Posted By <a href="member.php/2-Alexan">Alexan</a> (0 Replies)
                  							<br>05-31-2010 <span class="time">09:08 PM</span> in <a href="forumdisplay.php/18-Videos">Videos</a>
                  							
                  						</div>
                  					</div>
                  				</li>
                  				
                  			</ul>
                  		</div>
                  	</div>
                  No idea why the <div class="smallavatartext"> is showing as it's nowhere in the code:

                  Code:
                  <li>
                      <div class="block smaller">
                          <div class="blocksubhead">
                              <a class="collapse" id="collapse_block_newthreads_{vb:raw blockinfo.blockid}" href="{vb:raw relpath}#top"><img alt="" src="{vb:stylevar imgdir_button}/collapse_40b.png" id="collapseimg_newthreads_{vb:raw blockinfo.blockid}"/></a>
                              <img src="{vb:stylevar imgdir_cms}/widget-forum.png" alt="" />
                              <span class="blocktitle">{vb:raw blockinfo.title}</span>
                          </div>
                          <div id="block_newthreads_{vb:raw blockinfo.blockid}" class="blockbody floatcontainer">
                              <ul class="blockrow">
                                  <vb:each from="threads" key="threadid" value="thread">
                                  <li>
                                          <a href="{vb:raw thread.url}" class="title">{vb:raw thread.title}</a>
                                          <br/>
                                          <div class="meta">
                                              <vb:if condition="$threadstype == 0">
                                              {vb:rawphrase posted_by} <a href="{vb:link member, {vb:raw thread}}">{vb:var thread.postusername}</a> ({vb:raw thread.replycount} {vb:rawphrase replies})
                                              <br />{vb:raw thread.date} <span class="time">{vb:raw thread.time}</span> {vb:rawphrase in_x, {vb:link forum, {vb:raw thread}, null, 'forumid', 'forumtitle'}, {vb:raw thread.forumtitle}}
                                              <vb:else />
                                              {vb:rawphrase last_post_by} <a href="{vb:link member, {vb:raw thread}, null, 'lastposterid', 'lastposter'}">{vb:var thread.lastposter}</a> ({vb:rawphrase x_replies, {vb:raw thread.replycount}})
                                              <br />
                                              {vb:raw thread.lastpostdate} <span class="time">{vb:raw thread.lastposttime}</span> {vb:rawphrase in_x, {vb:link forum, {vb:raw thread}, null, 'forumid', 'forumtitle'}, {vb:raw thread.forumtitle}}
                                              </vb:if>
                                          </div>
                  
                                  </li>
                                  </vb:each>
                              </ul>
                          </div>
                      </div>
                      <div class="underblock"></div>
                  </li>

                  Comment

                  • anthonyparsons
                    Senior Member
                    • Mar 2005
                    • 2597

                    #24
                    I think this is what Wayne's probably heading towards with the cache not clearing. Not saying its your fault, but the cache obviously isn't clearing either in the tables or your browser. Because it shows up for us viewing it for the first time correctly, with no avatars, then that usually means the table has dropped the cache and it is more browser oriented or other aspect.

                    Have patience, I am sure staff can sort this out for you.

                    Comment

                    • Noctavia
                      Senior Member
                      • May 2006
                      • 346

                      #25
                      That's what I was saying yesterday though, it's not just my PC. I've got 3 PC's to test it on here, had hubby test it on his work computer and had friends test their PC's, some of who had never been to the site before. Everyone's seeing something different, including no avatars on a theme that's never been touched.

                      Comment

                      • Bacon Butty
                        Senior Member
                        • Jun 2005
                        • 162

                        #26
                        Originally posted by Noctavia
                        That's what I was saying yesterday though, it's not just my PC. I've got 3 PC's to test it on here, had hubby test it on his work computer and had friends test their PC's, some of who had never been to the site before. Everyone's seeing something different, including no avatars on a theme that's never been touched.
                        Long shot mate, but did you try clicking either of these that are under the forum block manager in admin cp?;

                        [Reload Block Types] [Purge Cache]

                        Seemed to then show template changes once I'd clicked them.

                        Comment

                        • Noctavia
                          Senior Member
                          • May 2006
                          • 346

                          #27
                          Oh I could KISS you!! [Purge Cache] solves the issue for everyone! Something so simple...

                          Comment

                          widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
                          Working...