Patreon Integration Public

The latest happenings on Smack Jeeves
Forum rules
Please stay on-topic when responding to news posts.

Re: Patreon Integration Public

Postby Respheal » January 7th, 2017, 6:43 pm

Is there a way to have a {COMIC_TITLE} without the Patreon icon on early access pages? Maybe leave {COMIC_TITLE} as is, but also have a {C_TITLE_ONLY} or something. Mine's probably a bit of an edge case here, but I've got disqus comments enabled like:
Code: Select all
this.page.url = "http://www.galebound.com/comic/{COMIC_TITLE}"; //comic_title expected to be '041'

Which, on the early access page, explodes into
Code: Select all
    this.page.url = "http://www.galebound.com/comic/<style>
   
      .patreon-title-logo {
         display: inline-block;
         height: 24px;
         width: 24px;
         border-radius: 5px;
         background: #ff5900 url(http://www.smackjeeves.com/images/patreon-white.png) no-repeat 50% 50%;
         background-size: 16px;
         margin-right: .4em;
         vertical-align: baseline;
         line-height: 25px;
         cursor: default;
      }

   </style>
         
   <span class="patreon-title-logo override" title="Patreon Early Access">&nbsp;</span>041";
Image
User avatar
Respheal
 
Posts: 23
Joined: April 16th, 2015, 11:39 am

Re: Patreon Integration Public

Postby Admin » January 8th, 2017, 6:01 am

Well, first of all, for disqus you can use this:

Code: Select all
this.page.url = '{COMIC_URL}';


Does the Patreon icon bother you, or was it just the disqus problem?
User avatar
Admin
Site Admin
 
Posts: 1215
Joined: August 17th, 2005, 11:10 pm

Re: Patreon Integration Public

Postby Respheal » January 8th, 2017, 10:57 am

Ah, it's just a disqus thing. I've got it so the disqus comments load the same for each page here and on the comic fury mirror (making use of the comic title as an identifier because I could make them the same on both hosts). I might be able to come up with a workaround (I mean, my whole disqus setup is a hacky workaround in the first place xD).
Image
User avatar
Respheal
 
Posts: 23
Joined: April 16th, 2015, 11:39 am

Previous

Return to News

Who is online

Users browsing this forum: No registered users and 6 guests