Torben Heikel Vinther
Forum Replies Created
-
Forum: Plugins
In reply to: [Participants Database] Maximum Number of ParticipantsJust to verify that it is possible to handle A LOT of data with this plugin. I’m running a project where we at the moment has 275.000+ (and still counting) records in the database. No problem at all ??
Cool. So the fix will also be in the next update (version 2.3.0?)?
Because then I will just wait for the official update.
Thanks
Hey Igor
Ok, I’ll try to illustrate my problem.
In Block 15 I have this content:
<p>BANNER A #1</p> [ADINSERTER COUNT="shuffle"] <p>BANNER A #2</p>
Block 16:
<p>BANNER B #1</p> [ADINSERTER COUNT="shuffle"] <p>BANNER B #2</p> [ADINSERTER COUNT] <p>BANNER B #3</p> [ADINSERTER COUNT] <p>BANNER B #4</p>
I insert the shortcodes on a page like this:
[adinserter name="Block 16"] [adinserter name="Block 16"] [adinserter name="Block 15"] [adinserter name="Block 15"] [adinserter name="Block 16"] [adinserter name="Block 16"]
I get a result like this:
BANNER B #4
BANNER B #1
BANNER A #2
BANNER A #1And I would like a result like this:
BANNER B #4
BANNER B #1
BANNER A #2
BANNER A #1
BANNER B #2
BANNER B #3You can see it in action on https://goo.gl/buo8Tf
Best regards
TorbenYes, I have noticed!
And more important: I checked it and used this PHP snippet to make the dynamic shortcode with [ADINSERTER COUNT=”shuffle”] only in the first counter separator:<?php $params = array( 'where' => 'annoncetype.slug="tekstbanner"', 'limit' => -1 ); $annonce = pods( 'annonce', $params ); $count = $annonce->total(); $i = 1; if ( 0 < $count ) { while ( $annonce->fetch() ) { ?> <a href="<?php echo $annonce->field( 'klik_url' ); ?>" target="_blank"> <img src="<?php echo $annonce->field( 'banner._src' ); ?>" /></a><br /> <?php if ( $i == 1 ) { echo '[ADINSERTER COUNT="shuffle"]'; } elseif ( $i < $count ) { echo '[ADINSERTER COUNT]'; } $i ++; } } ?>
THANK YOU SO MUCH. I REALLY APPRECIATE YOUR HELP ??
Cool. I’ll check asap and return to you with my experiences. Thumbs up!
Cool, thanks. I’ll keep my fingers crossed in hope of a fast solution ??
Hi Igor
Thank you for quick answer. Unfortunately it doesn’t seem that the insertion counter works with my theme.
When I follow the example about ad counting at https://adinserter.pro/documentation it inserts all the images between both post 1 and 2, between post 2 and 3, and between post 3 and 4 ??
My theme is Jarida: https://themes.tielabs.com/docs/jarida/
Hi Sayontan
Thank you for quick answer. That makes sense why it didn’t work for me as I thought.
How would you then do, if you had 50+ SmugMug albums you wanted to show on one page with pagination with eg. 10 albums on each view?
/Torben
Forum: Plugins
In reply to: [White Label CMS] import txt file not workingI’m using PHP 5.6.16 with the newest WLCMS 1.5.6
Forum: Plugins
In reply to: [White Label CMS] import txt file not workingHi,
I have the exact same problem as Clark. Nothing happens when I import txt-file from another site.
I’m using WLCMS 1.5.5 in WordPress 4.2.2 on both source and target sites.
Forum: Plugins
In reply to: [The Events Calendar] Custom link to past events in nav menu doesn't workHi Brian
The link in the menu says:
https://lus.webfronten.dk/events/kategori/kursus/liste/?tribe_event_display=past&tribe_paged=1
(I copied it from the generic previous link at https://lus.webfronten.dk/events/kategori/kursus/)You can see the site at https://lus.webfronten.dk/. Use “komind” as the password. The menu with (non-functioning) link to previous event is found here: Kalender > Kursus/konference > Afholdte kurser
I hope you can help me fix it even though the site is in Danish ??
Thanks
TorbenForum: Plugins
In reply to: [Floating Social Bar] Adding Post Comments to Social BarI would like to know that too ??