Previous Thread
Next Thread
Print Thread
Hop To
Joined: Jul 2006
Posts: 4,057
Joined: Jul 2006
Posts: 4,057
Ok i'm up and running with 7.5.6 wink

Now i have the tweet and f/ b activiated.

The issue i'm having is and it could be me not understanding Twitter account or its Ubb / Mindraven software i dont know which.

Everytime "I" post a "Twitter" i get the following screen.

[Linked Image from wikiwirral.co.uk]

For the life of me ive not Recommended anything.
Its a new account.
I have clicked on the twitter links on this forum a while ago as a tester for the account.

No disrespect to the Mindraven Link. how can i change it ?

Is it in my "Twitter" settings if so where ?


BOOM !! Version v7.6.1.1
People who inspire me Isaac ME Gizmo
Joined: Jun 2006
Posts: 1,344
G
veteran
veteran
G Offline
Joined: Jun 2006
Posts: 1,344
in showflat.tpl

line 137 remove red

Quote
<a href="http://twitter.com/share?url={$facebookURL}&via={$config.YOUR_TWITTER}" class="twitter-share-button" data-related="Mindraven">Tweet</a>

Joined: Jul 2006
Posts: 4,057
Joined: Jul 2006
Posts: 4,057
Cheers Appreciated.

Been looking all morning, and i was a million miles away smile

I think i will tweet this thread lol

Mark


BOOM !! Version v7.6.1.1
People who inspire me Isaac ME Gizmo
Joined: Jul 2006
Posts: 4,057
Joined: Jul 2006
Posts: 4,057
Personally i do think that should be a option.

Were all for advertising when asked.


BOOM !! Version v7.6.1.1
People who inspire me Isaac ME Gizmo
Joined: Jul 2006
Posts: 4,057
Joined: Jul 2006
Posts: 4,057
Is there a class setting for FB text

"Be the first of your friends to like this."

it cant be read in my dark skins ?


BOOM !! Version v7.6.1.1
People who inspire me Isaac ME Gizmo
Joined: Jun 2006
Posts: 1,344
G
veteran
veteran
G Offline
Joined: Jun 2006
Posts: 1,344
Line 142 of showflat.tpl

Quote
<iframe src="http://www.facebook.com/plugins/like.php?href={$facebookURL}&layout=standard&show_faces=false&width=450&action=like&colorscheme=light&height=80" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:450px; height:80px;" allowTransparency="true"></iframe>

change light to dark wink

Last edited by gliderdad; 01/10/2011 6:34 PM.
Joined: Jul 2006
Posts: 4,057
Joined: Jul 2006
Posts: 4,057
i have light and dark themes running frown

looks like its going to be the best of a bad fit then.

Thanks again Gilderdad smile


BOOM !! Version v7.6.1.1
People who inspire me Isaac ME Gizmo
Joined: Jun 2006
Posts: 1,344
G
veteran
veteran
G Offline
Joined: Jun 2006
Posts: 1,344
So do I, even in light themes the darker text shows good so I changed mine to dark.

Joined: Jun 2007
Posts: 286
T
enthusiast
enthusiast
T Offline
Joined: Jun 2007
Posts: 286
What folder is showflat.tpl in ?
cannot seem to find it

Thanks


JR
Team ZR-1 Corvette Racer's
Joined: Jun 2006
Posts: 1,344
G
veteran
veteran
G Offline
Joined: Jun 2006
Posts: 1,344
templates

Joined: Jun 2007
Posts: 286
T
enthusiast
enthusiast
T Offline
Joined: Jun 2007
Posts: 286
Thanks,
found it in templates/default sub folder


JR
Team ZR-1 Corvette Racer's
Joined: Jun 2007
Posts: 286
T
enthusiast
enthusiast
T Offline
Joined: Jun 2007
Posts: 286
To reopen this thread
Why out of the blue when clicking on Tweeter icon of a thread is this Mindraven marketing Ad being posted to my users ?

I see this but where is this being directed in my UBB forum ?

Code
<div class="users related">
      <h2>

        
          Team ZR1 (@<a href="https://twitter.com/intent/user?screen_name=teamzr1">teamzr1</a>) [b]recommends you follow:[/b]
        
      </h2>

      <ul class="user-list">
        <li id="related-user-21038759">
  

   <img alt="" height="48" src="https://si0.twimg.com/profile_images/1032612842/[b]mindraven_logo_normal.png[/b]" width="48" />
   <span class="screenname"><a href="https://twitter.com/intent/user?screen_name=[b]Mindraven">Mindraven[/b]</a></span>
   <span class="name">Mindraven
      <em> &middot; 580 followers</em>

      <em> &middot; 155 tweets</em>
    </span>
   


<div class="follow-button">
  
  

    
    <form action="/intent/follow?screen_name=Mindraven" class="follow" method="post"><div style="margin:0;padding:0"><input name="authenticity_token" type="hidden" value="f5565adc58939859454f483637fac2d8f04848c8" /></div>
      <input name="original_referer" type="hidden" value="http://www.teamzr1.com/ubbthreads/ubbthreads.php?ubb=showflat&amp;Number=4043" />
<input name="source" type="hidden" value="tweetbutton" />
<input name="related" type="hidden" value="Mindraven" />
<input name="via" type="hidden" value="teamzr1" />
<input name="text" type="hidden" value="Some LS1 detail - Team ZR-1 Corvette Racers" />

      <input name="return_to_referer" type="hidden" value="true" />
      <button type="submit" class="button">
        <b></b><strong>Follow</strong>
      </button>
    </form>

    
    <form action="/intent/follow?screen_name=Mindraven" class="unfollow disabled" method="post"><div style="margin:0;padding:0"><input name="_method" type="hidden" value="delete" /><input name="authenticity_token" type="hidden" value="f5565adc58939859454f483637fac2d8f04848c8" /></div>
      <input name="original_referer" type="hidden" value="http://www.teamzr1.com/ubbthreads/ubbthreads.php?ubb=showflat&amp;Number=4043" />
<input name="source" type="hidden" value="tweetbutton" />

<input name="related" type="hidden" value="Mindraven" />
<input name="via" type="hidden" value="teamzr1" />
<input name="text" type="hidden" value="Some LS1 detail - Team ZR-1 Corvette Racers" />
      <input name="return_to_referer" type="hidden" value="true" />
      <button type="submit" class="button" disabled>
        <b></b>
        <strong class="following">Following</strong>
        <strong class="unfollow">Unfollow</strong>
      </button>

    </form>

  
</div>
   <span class="description">Web Hosting &amp; UBB Forum Software</span>

I want to take this out

Thanks


JR
Team ZR-1 Corvette Racer's
Joined: Jun 2006
Posts: 1,344
G
veteran
veteran
G Offline
Joined: Jun 2006
Posts: 1,344
You can read how to remove it in the link below, its from page one of this thread. Its not all the sudden out of the blue, its been there since the twitter button was added to ubb.

https://www.ubbcentral.com/forums/u...e_Tweet_Reccomended_Follow_He#Post241007

Last edited by gliderdad; 10/14/2011 11:13 PM.
Joined: Jun 2007
Posts: 286
T
enthusiast
enthusiast
T Offline
Joined: Jun 2007
Posts: 286
No something has changed as I changed the showflat file back when that post was done and now it seems since doing the security patches P1 and P2 for V 7.4.5 that this has returned and the showflat being used does not have the mindraven code in it
Is there more then one showflat file other then the one in template ?


JR
Team ZR-1 Corvette Racer's
Joined: Jun 2006
Posts: 1,344
G
veteran
veteran
G Offline
Joined: Jun 2006
Posts: 1,344
Well, thats because that code has not been removed from stock code yet. You must have done a update running the update script or over rode all the files as no changes were applied to showflat.tpl for the security patch. Anytime you over ride a file you will need to re apply the fix.

I know SD said he was working on better design with twitter fb, and google +1 buttons so i am sure he will be removed from stock code when the next system update comes out.

Joined: Jun 2007
Posts: 286
T
enthusiast
enthusiast
T Offline
Joined: Jun 2007
Posts: 286
With the code removed in showflat the marketing Ad no longer appeared
The P1 or P2 patches was not a overwrite of all files but simply replacing a few files and none of them were for the templates files.
I downloaded the showflat file and did a full compare and confirmed the code for mindraven for twitter is not there as I removed that almost 10 months ago and date of the file is from last January so it was removed in stock code.

Code
{if $facebook || $twitter}
<br />
{if $twitter}
<div style="margin-bottom: 4px">
<script src="http://platform.twitter.com/widgets.js" type="text/javascript"></script>
<a href="http://twitter.com/share?url={$facebookURL}&amp;via={$config.YOUR_TWITTER}" [b]class="twitter-share-button">Tweet[/b]</a>
</div>
{/if}


I ran no script as there was none in the patches but as it stated to overwrite only the files supplied in the patch zip file
Attachments
tmp.jpg


JR
Team ZR-1 Corvette Racer's
Joined: Jun 2006
Posts: 1,344
G
veteran
veteran
G Offline
Joined: Jun 2006
Posts: 1,344
The files that were changed for the patch were in 4 directories: admin, languages, libs, and scripts.

Those 4 directories were the only ones in the patch downloads. showflat.tpl is in templates/default directory. Something or someone restored or overrode showflat.tpl which added it back, but it wasn't the patch.

Last edited by gliderdad; 10/15/2011 12:02 AM.

Link Copied to Clipboard
ShoutChat
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Recent Topics
Bots
by Outdoorking - 04/13/2024 5:08 PM
Can you add html to language files?
by Baldeagle - 04/07/2024 2:41 PM
Do I need to rebuild my database?
by Baldeagle - 04/07/2024 2:58 AM
This is not a bug, but a suggestion
by Baldeagle - 04/05/2024 11:25 PM
spam issues
by ECNet - 03/19/2024 11:45 PM
Who's Online Now
2 members (Ruben, Nightcrawler), 411 guests, and 171 robots.
Key: Admin, Global Mod, Mod
Random Gallery Image
Latest Gallery Images
Los Angeles
Los Angeles
by isaac, August 6
3D Creations
3D Creations
by JAISP, December 30
Artistic structures
Artistic structures
by isaac, August 29
Stones
Stones
by isaac, August 19
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20230217)