|
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
Messages - kohai.raul
Pages: [1]
1
« on: March 03, 2016, 03:11:11 am »
Thanks, but I tested before. It works well in case of "Top Message Index" and " Bottom Message Index", but I've detected that another ads on Tiny-Portal's Blocks and customised locations that must be visible in the context of MessageIndex, they were not.
Definitely by changing the mentioned piece of code for the following, works great in my case:
if (isset($_REQUEST['board'])){ $bID = (int) $_REQUEST['board']; }
I'm not sure, but maybe this behavior is connected with my own scenario and it don't applies to common situations. It's a behavior don't detected before on AdSeller and this seems strange.
best regards,
2
« on: March 02, 2016, 04:51:02 am »
Hi all! By now, basing on original code on ShowAdLocation: global ..., $board, ...;
if (isset($_REQUEST['board']) || !empty($board)) { if (!empty($board)) $bID = (int) $board; else $bID = (int) $_REQUEST['board']; $boardCheck = " AND ((l.showinallboards = 1 OR FIND_IN_SET($bID, l.boards)) AND (a.showinallboards = 1 OR FIND_IN_SET($bID, a.boards))) "; }
By reviewing default/MessageIndex.template.php and reseller/MessageIndex.template.php, the only $board var I've seen in both, corresponds to a previous iteration: ... foreach ($context['boards'] as $board) { ... } //end foreach
showAdLocation(...);
And it's always empty. But this global var applies to BoardsIndex.template.php, where $boards gets the following structure: [boards] => Array ( [150] => Array ( [new] => [id] => 150 [name] => Preséntate. El sitio de partida [description] => Visible sólo para usuarios registrados. Preséntate y cuéntanos cuál es tu relación o expectativas con respecto a la permacultura. [moderators] => Array ( )
[link_moderators] => Array ( )
[children] => Array ( )
[link_children] => Array ( )
[children_new] => [topics] => 42 [posts] => 478 [is_redirect] => 0 [unapproved_topics] => 0 [unapproved_posts] => 0 [can_approve_posts] => 1 [href] =>index.php?board=150.0 [link] => Preséntate. El sitio de partida [last_post] => Array ( [id] => 11279 [time] => 19 Agosto de 2014, 03:55:26 pm [timestamp] => 1408456526 [subject] => Re:Nuevo en el foro [member] => Array ( [id] => 9803 [username] => Isma [name] => Isma [href] => index.php?action=profile;u=9803 [link] => Isma )
[start] => msg11951 [topic] => 2553 [href] => index.php?topic=2553.msg11951#new [link] => Re:Nuevo en el foro )
)
[151] => Array (...) )
But it's not usable by ShowAdLocation in this situation... So, from this point I don't understand the reason why ShowAdLocation makes use of global $board... it seems an unusable case... what do you think about this??? Best Regards,
3
« on: March 01, 2016, 12:09:53 pm »
I'm Sorry!
when I said about [board] => array (...) I meant $board at the following portion of code:
... if (!empty($board)) $bID = (int) $board; ...
4
« on: March 01, 2016, 12:07:59 pm »
Hi, I think it corresponds to the "board" parameter, http://mydomain.com?board=X I've needed move the adSeller snippets from Themes/default/messageindex.template.php to Themes/reseller/messageindex.template.php maybe it's a problem introduced by Reseller (a responsive theme)...
5
« on: March 01, 2016, 11:38:06 am »
Hi all!
My site makes use of TinyPortal and PrettyURL. I tried for some days adding some ads to specifical boards, without luck!.
So I decided to test the source code and I've seen some strange behavior on ShowAdLocation() function (at Sources/adseller2.php)
Around line 2480, we can see:
if (isset($_REQUEST['board']) || !empty($board)) { if (!empty($board)) $bID = (int) $board; else $bID = (int) $_REQUEST['board']; $boardCheck = " AND ((l.showinallboards = 1 OR FIND_IN_SET($bID, l.boards)) AND (a.showinallboards = 1 OR FIND_IN_SET($bID, a.boards))) "; } By testing the values of REQUEST['board'] and bID, I've seen the following:
[REQUEST_board] => 150 [board] => Array ( [id] => 62 [name] => Cliparts imágenes longitudinales [child_level] => 2 [selected] => )
the correct value is on Request_board. I don't understand why bID = 62, because it does not corresponds to the current board.
The solution applied was to substitute this portion of code by:
if (isset($_REQUEST['board'])) { $bID = (int) $_REQUEST['board']; $boardCheck = " AND ((l.showinallboards = 1 OR FIND_IN_SET($bID, l.boards)) AND (a.showinallboards = 1 OR FIND_IN_SET($bID, a.boards))) "; }
Depending totally on board parameter from request.
Has anyone experienced a similar situation?
Best Regards,
6
« on: March 01, 2016, 07:51:17 am »
perfect! Thank's! :-)
7
« on: March 01, 2016, 04:39:30 am »
Hi!
I would like to know how to download the latest update for Ad seller Pro. My distro is warning me about my current version is outdated (2.5.1).
My license is still valid till 29, March.
Looking forward to hearing from you,
8
« on: April 10, 2015, 02:55:41 am »
thanks a lot! admin,
I understand that I should place code manually somewhere on my site to achieve it. ... I'll look in the forum about possibilities ...
Anyway, if "AdSeller" is the Pro version of AdManager (as interpreted from Admanager webpage), why don't maintained the original functionalities (or applied specific improvements to things already had)?.. I bought the pro version thinking about it was a "super-version" of adManager, and I didn't think I would lose some of their functionalities.
**(regardless AdSeller, itself, is a great plugin, as it appears)
Regards,
9
« on: April 09, 2015, 01:41:41 pm »
Hello everybody!!!
I'm a new user of Ad Seller Pro!. I was user of Ad Management v3, and recently acquired a license for AdSeller Pro, to gain more control with membergroups. At the moment, I'm developing the "next" version of my site and I'm trying to integrate my new mods (as SellerPro) with TinyPortal.
At the first impression... I'm confused. How I can display an ad on an specific post?!
With "Ad Management" was very easy (an input-text field for post id). But with AdSellerPro, I do not understand how I can do it!
I will appreciate your comments,
regards,
Pages: [1]
|
No thumbnails on new uploads
by Tonyvic
Today at 06:26:18 am
|
Display the Contact Page for guests
by SMFHacks
March 27, 2024, 10:55:43 am
|
is it possible to add support for odysee.com
by fvlog19
March 21, 2024, 08:47:51 am
|
Request for admin notification
by davejo
March 10, 2024, 01:31:59 am
|
I need help with torrent upload
by Ineedsmfhelp
March 09, 2024, 10:01:13 pm
|
an idea for new mod (( content type with different display ))
by SMFHacks
February 27, 2024, 01:36:27 pm
|
[Mod] RSS Feed Poster
by SMFHacks
February 27, 2024, 11:57:18 am
|
find duplicate pictures
by fvlog19
February 14, 2024, 02:22:40 pm
|
Error uploading video.
by SMFHacks
February 08, 2024, 02:04:16 pm
|
Gallery icon as last added image
by fvlog19
February 01, 2024, 01:04:56 pm
|
|
|