Announcement

Collapse
No announcement yet.

Editing the forum blocks code?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Noctavia
    replied
    Oh I could KISS you!! [Purge Cache] solves the issue for everyone! Something so simple...

    Leave a comment:


  • Bacon Butty
    replied
    Originally posted by Noctavia View Post
    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.

    Leave a comment:


  • Noctavia
    replied
    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.

    Leave a comment:


  • anthonyparsons
    replied
    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.

    Leave a comment:


  • Noctavia
    replied
    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>

    Leave a comment:


  • anthonyparsons
    replied
    What the browser is showing is possibly what Wayne is referring too vs. what you have within your style. View source....

    Leave a comment:


  • Noctavia
    replied
    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...

    Leave a comment:


  • Wayne Luke
    replied
    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.

    Leave a comment:


  • Bacon Butty
    replied
    Originally posted by Noctavia View Post
    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!

    Leave a comment:


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

    Leave a comment:


  • Noctavia
    replied
    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.

    Leave a comment:


  • anthonyparsons
    replied
    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.

    Leave a comment:


  • Noctavia
    replied
    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...

    Leave a comment:


  • Noctavia
    replied
    Originally posted by anthonyparsons View Post
    but its working, so well done, as you seem to have solved your issue.
    Well no, not really. Depending on who you ask, they either do or don't show.

    I asked hubby to check at work, and he sees the avatars. I asked two people on Twitter and one DOES see them, one DOESN'T see them. A third person doesn't see them on the vBulletin default theme (white), but does see them on the site default theme (dark) which just doesn't make sense as I've never edited the site theme with that code.

    I really don't want my users seeing two different things...

    Leave a comment:


  • anthonyparsons
    replied
    Put it down to ghosts... but its working, so well done, as you seem to have solved your issue.

    Leave a comment:

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