-
-
JQ Who is where 0.0.2
Hi there
I would like to install the Mod to my Forum, but I dont have the prosilver Style. In the install manual only the guide for prosilver ist given. I'm using black pearl and unfortunately the index_body.html looks totally different to prosilver.
Im not a programmer and dont have any idea how to adapt the changes for black pearl. Is somebody unsing black pearl as well and know how to implement the changes?
If somebody would take a look at the source of the index_body.html:
- Code: Select all
<!-- INCLUDE overall_header.html -->
<!-- IF U_MCP -->
<div id="pageheader">
<p class="linkmcp">[ <a href="{U_MCP}">{L_MCP}</a> ]</p>
</div>
<br clear="all" /><br />
<!-- ENDIF -->
<!-- INCLUDE breadcrumbs.html -->
<!-- IF S_MCHAT_ENABLE and S_MCHAT_ON_INDEX and S_MCHAT_LOCATION --><!-- INCLUDE mchat_body.html --><!-- ENDIF -->
<!-- INCLUDE forumlist_body.html -->
<!-- IF S_MCHAT_ENABLE and S_MCHAT_ON_INDEX and not S_MCHAT_LOCATION --><!-- INCLUDE mchat_body.html --><!-- ENDIF -->
<!-- IF not S_IS_BOT --> <div style="font-size: 1.2em; margin-bottom: 20px;">{SHOUTBOX}</div> <!-- ELSE --> <div id="ajaxChatCopyright"><a href="https://blueimp.net/ajax/">AJAX Chat</a> © <a href="https://blueimp.net">blueimp.net</a></div> <!-- ENDIF -->
<!-- IF not S_IS_BOT or U_TEAM -->
<span class="gensmall"><!-- IF not S_IS_BOT --><a href="{U_DELETE_COOKIES}">{L_DELETE_COOKIES}</a><!-- ENDIF --><!-- IF not S_IS_BOT and U_TEAM --> | <!-- ENDIF --><!-- IF U_TEAM --><a href="{U_TEAM}">{L_THE_TEAM}</a><!-- ENDIF --></span><br />
<!-- ENDIF -->
<br clear="all" />
<!-- IF S_DISPLAY_ONLINE_LIST -->
<br clear="all" />
<div id="viewonline_h" style="display: none;">
<div><div class="tbl-h-l"><div class="tbl-h-r"><div class="tbl-h-c"><img style="padding-top: 9px; padding-right: 6px; float: right; cursor: pointer;" src="{T_THEME_PATH}{$MG_MAX}" onclick="ShowHide('viewonline_nh', 'viewonline_h', 'viewonline');" alt="{L_WHO_IS_ONLINE}" /><div class="tbl-title"><h4>{L_WHO_IS_ONLINE}</h4></div></div></div></div>
<table class="tablebg" width="100%" cellpadding="0" cellspacing="0">
<tr><td class="row1"><span class="gensmall"> </span></td></tr>
</table>
<div class="tbl-f-l"><div class="tbl-f-r"><div class="tbl-f-c"> </div></div></div></div>
</div>
<div id="viewonline_nh">
<script type="text/javascript">
<!--
tmp = 'viewonline';
if(GetCookie(tmp) == '2')
{
ShowHide('viewonline_nh', 'viewonline_h', 'viewonline');
}
</script>
<div><div class="tbl-h-l"><div class="tbl-h-r"><div class="tbl-h-c"><img style="padding-top: 9px; padding-right: 6px; float: right; cursor: pointer;" src="{T_THEME_PATH}{$MG_MIN}" onclick="ShowHide('viewonline_nh', 'viewonline_h', 'viewonline');" alt="{L_WHO_IS_ONLINE}" /><div class="tbl-title"><!-- IF U_VIEWONLINE --><h4><a href="{U_VIEWONLINE}">{L_WHO_IS_ONLINE}</a></h4><!-- ELSE --><h4>{L_WHO_IS_ONLINE}</h4><!-- ENDIF --></div></div></div></div>
<table class="tablebg" width="100%" cellpadding="0" cellspacing="0">
<tr>
<!-- IF LEGEND -->
<td class="row1" rowspan="2" align="center" valign="middle"><img src="{T_THEME_PATH}/images/online.png" alt="{L_WHO_IS_ONLINE}" /></td>
<!-- ELSE -->
<td class="row1" align="center" valign="middle"><img src="{T_THEME_PATH}/images/online.png" alt="{L_WHO_IS_ONLINE}" /></td>
<!-- ENDIF -->
<td class="row1" width="100%"><span class="genmed">{TOTAL_USERS_ONLINE} ({L_ONLINE_EXPLAIN})<br />{RECORD_USERS}<br /><br />{LOGGED_IN_USER_LIST}</span></td>
</tr>
<!-- IF LEGEND -->
<tr><td class="row1"><b class="gensmall">{L_LEGEND} :: {LEGEND}</b></td></tr>
<!-- ENDIF -->
<tr><td class="cat-bottom" colspan="2"> </td></tr>
</table>
<div class="tbl-f-l"><div class="tbl-f-r"><div class="tbl-f-c"> </div></div></div></div>
</div>
<!-- ENDIF -->
<!-- IF S_MCHAT_ENABLE and S_MCHAT_ON_INDEX and S_MCHAT_LOCATION --><!-- INCLUDE mchat_stats.html --><!-- ENDIF -->
<!-- IF S_DISPLAY_BIRTHDAY_LIST -->
<br clear="all" />
<div id="birthdays_h" style="display: none;">
<div><div class="tbl-h-l"><div class="tbl-h-r"><div class="tbl-h-c"><img style="padding-top: 9px; padding-right: 6px; float: right; cursor: pointer;" src="{T_THEME_PATH}{$MG_MAX}" onclick="ShowHide('birthdays_nh', 'birthdays_h', 'birthdays');" alt="{L_BIRTHDAYS}" /><div class="tbl-title"><h4>{L_BIRTHDAYS}</h4></div></div></div></div>
<table class="tablebg" width="100%" cellpadding="0" cellspacing="0">
<tr><td class="row1"><span class="gensmall"> </span></td></tr>
</table>
<div class="tbl-f-l"><div class="tbl-f-r"><div class="tbl-f-c"> </div></div></div></div>
</div>
<div id="birthdays_nh">
<script type="text/javascript">
<!--
tmp = 'birthdays';
if(GetCookie(tmp) == '2')
{
ShowHide('birthdays_nh', 'birthdays_h', 'birthdays');
}
//-->
</script>
<div><div class="tbl-h-l"><div class="tbl-h-r"><div class="tbl-h-c"><img style="padding-top: 9px; padding-right: 6px; float: right; cursor: pointer;" src="{T_THEME_PATH}{$MG_MIN}" onclick="ShowHide('birthdays_nh', 'birthdays_h', 'birthdays');" alt="{L_BIRTHDAYS}" /><div class="tbl-title"><h4>{L_BIRTHDAYS}</h4></div></div></div></div>
<table class="tablebg" width="100%" cellpadding="0" cellspacing="0">
<tr>
<td class="row1" align="center" valign="middle"><img src="{T_THEME_PATH}/images/birthdays.png" alt="{L_BIRTHDAYS}" /></td>
<td class="row1" width="100%"><p class="genmed"><!-- IF BIRTHDAY_LIST -->{L_CONGRATULATIONS}: <b>{BIRTHDAY_LIST}</b><!-- ELSE -->{L_NO_BIRTHDAYS}<!-- ENDIF --></p></td>
</tr>
<tr><td class="cat-bottom" colspan="2"> </td></tr>
</table>
<div class="tbl-f-l"><div class="tbl-f-r"><div class="tbl-f-c"> </div></div></div></div>
</div>
<!-- ENDIF -->
<br clear="all" />
<div id="statistics_h" style="display: none;">
<div><div class="tbl-h-l"><div class="tbl-h-r"><div class="tbl-h-c"><img style="padding-top: 9px; padding-right: 6px; float: right; cursor: pointer;" src="{T_THEME_PATH}{$MG_MAX}" onclick="ShowHide('statistics_nh', 'statistics_h', 'statistics');" alt="{L_STATISTICS}" /><div class="tbl-title"><h4>{L_STATISTICS}</h4></div></div></div></div>
<table class="tablebg" width="100%" cellpadding="0" cellspacing="0">
<tr><td class="row1"><span class="gensmall"> </span></td></tr>
</table>
<div class="tbl-f-l"><div class="tbl-f-r"><div class="tbl-f-c"> </div></div></div></div>
</div>
<div id="statistics_nh">
<script type="text/javascript">
<!--
tmp = 'birthdays';
if(GetCookie(tmp) == '2')
{
ShowHide('statistics_nh', 'statistics_h', 'statistics');
}
//-->
</script>
<div><div class="tbl-h-l"><div class="tbl-h-r"><div class="tbl-h-c"><img style="padding-top: 9px; padding-right: 6px; float: right; cursor: pointer;" src="{T_THEME_PATH}{$MG_MIN}" onclick="ShowHide('statistics_nh', 'statistics_h', 'statistics');" alt="{L_STATISTICS}" /><div class="tbl-title"><h4>{L_STATISTICS}</h4></div></div></div></div>
<table class="tablebg" width="100%" cellpadding="0" cellspacing="0">
<tr>
<td class="row1" align="center" valign="middle"><img src="{T_THEME_PATH}/images/stats.png" alt="{L_STATISTICS}" /></td>
<td class="row1" width="100%" valign="middle"><p class="genmed">{TOTAL_POSTS} | {TOTAL_TOPICS} |<!-- IF TOTAL_IMAGES --> | {TOTAL_IMAGES}<!-- ENDIF -->| {TOTAL_USERS} | {NEWEST_USER}</p></td>
</tr>
<tr><td class="cat-bottom" colspan="2"> </td></tr>
</table>
<div class="tbl-f-l"><div class="tbl-f-r"><div class="tbl-f-c"> </div></div></div></div>
</div>
<!-- IF not S_USER_LOGGED_IN and not S_IS_BOT -->
<br clear="all" />
<form method="post" action="{S_LOGIN_ACTION}">
<div><div class="tbl-h-l"><div class="tbl-h-r"><div class="tbl-h-c"><div class="tbl-title"><h4><a href="{U_LOGIN_LOGOUT}">{L_LOGIN_LOGOUT}</a></h4></div></div></div></div>
<table class="tablebg" width="100%" cellpadding="0" cellspacing="0">
<tr>
<td class="row1" align="center" valign="middle"><img src="{T_THEME_PATH}/images/login.png" alt="{L_STATISTICS}" /></td>
<td class="row1" align="center"><span class="genmed">{L_USERNAME}:</span> <input class="post" type="text" name="username" size="10" /> <span class="genmed">{L_PASSWORD}:</span> <input class="post" type="password" name="password" size="10" /> <!-- IF S_AUTOLOGIN_ENABLED --> <span class="gensmall">{L_LOG_ME_IN}</span> <input type="checkbox" class="radio" name="autologin" /><!-- ENDIF --> <input type="submit" class="btnmain" name="login" value="{L_LOGIN}" /></td>
</tr>
<tr><td class="cat-bottom" colspan="2"> </td></tr>
</table>
<div class="tbl-f-l"><div class="tbl-f-r"><div class="tbl-f-c"> </div></div></div></div>
{S_LOGIN_REDIRECT}
{S_FORM_TOKEN}
</form>
<!-- ENDIF -->
<!-- INCLUDE breadcrumbs_footer.html -->
<div style="text-align: center; margin: 30px;">
<table class="legend">
<tr>
<td width="20" align="center">{FORUM_UNREAD_IMG}</td>
<td><span class="gensmall">{L_UNREAD_POSTS}</span></td>
<td> </td>
<td width="20" align="center">{FORUM_IMG}</td>
<td><span class="gensmall">{L_NO_UNREAD_POSTS}</span></td>
<td> </td>
<td width="20" align="center">{FORUM_LOCKED_IMG}</td>
<td><span class="gensmall">{L_FORUM_LOCKED}</span></td>
</tr>
</table>
</div>
<!-- INCLUDE overall_footer.html -->
The change to adapt is:
Find
- Code: Select all
<!-- IF S_DISPLAY_ONLINE_LIST -->
<!-- IF U_VIEWONLINE --><h3><a href="{U_VIEWONLINE}">{L_WHO_IS_ONLINE}</a></h3><!-- ELSE --><h3>{L_WHO_IS_ONLINE}</h3><!-- ENDIF -->
<p>{TOTAL_USERS_ONLINE} ({L_ONLINE_EXPLAIN})<br />{RECORD_USERS}<br /> <br />{LOGGED_IN_USER_LIST}
<!-- IF LEGEND --><br /><em>{L_LEGEND}: {LEGEND}</em><!-- ENDIF --></p>
<!-- ENDIF -->
Replace with
- Code: Select all
<!-- IF S_DISPLAY_ONLINE_LIST || U_VIEWONLINE -->
<script type="text/javascript">
!window.jQuery && document.write('<script type="text\/javascript" src="http:\/\/code.jquery.com\/jquery.min.js"><\/script>');
</script>
<script type="text/javascript">
// <![CDATA[
$(document).ready(function() {
<!-- IF S_DISPLAY_ONLINE_LIST -->
$('#who_is_online_total').load('{ROOT_PATH}who_is_online_total.php?sid={SESSION_ID}', {dol : '{S_DISPLAY_ONLINE_LIST}'});
$('#who_is_online_reg').load('{ROOT_PATH}who_is_online_reg.php?sid={SESSION_ID}', {dol : '{S_DISPLAY_ONLINE_LIST}'});
<!-- ENDIF -->
<!-- IF U_VIEWONLINE -->
$('#who_is_where').load('{ROOT_PATH}who_is_where.php?sid={SESSION_ID}');
<!-- ENDIF -->
var refreshId = setInterval(function() {
<!-- IF S_DISPLAY_ONLINE_LIST -->
$('#who_is_online_total').load('{ROOT_PATH}who_is_online_total.php?sid={SESSION_ID}', {dol : '{S_DISPLAY_ONLINE_LIST}'});
$('#who_is_online_reg').load('{ROOT_PATH}who_is_online_reg.php?sid={SESSION_ID}', {dol : '{S_DISPLAY_ONLINE_LIST}'});
<!-- ENDIF -->
<!-- IF U_VIEWONLINE -->
$('#who_is_where').load('{ROOT_PATH}who_is_where.php?sid={SESSION_ID}');
<!-- ENDIF -->
}, 20000);
$.ajaxSetup({ cache: false });
});
// ]]>
</script>
<!-- ENDIF -->
<!-- IF S_DISPLAY_ONLINE_LIST -->
<div style="padding-top:3px;"> </div>
<div class="navbar">
<div class="inner"><span class="corners-top"><span></span></span>
<!-- IF U_VIEWONLINE --><h3><a href="{U_VIEWONLINE}">{L_WHO_IS_ONLINE}</a></h3><!-- ELSE --><h3>{L_WHO_IS_ONLINE}</h3><!-- ENDIF -->
<p><span id="who_is_online_total"></span><!-- {TOTAL_USERS_ONLINE} ({L_ONLINE_EXPLAIN})--><br />{RECORD_USERS}<br /> <br /><span id="who_is_online_reg"></span><!-- {LOGGED_IN_USER_LIST} -->
<!-- IF LEGEND --><br /><em>{L_LEGEND}: {LEGEND}</em><!-- ENDIF --></p>
<span class="corners-bottom"><span></span></span></div>
</div>
<!-- ENDIF -->
<!-- IF U_VIEWONLINE -->
<div style="padding-top:3px;"> </div>
<div class="navbar">
<div class="inner"><span class="corners-top"><span></span></span>
<h3>Who is where</h3>
<table class="table1" cellspacing="1">
<thead>
<tr> </tr>
<tr style="font-size:11px;">
<th class="name" style="width:25%; padding-left:5px; color:#536482;">{L_USERNAME}</a></th>
<th class="name" style="width:5%; padding-left:5px; color:#536482;">{L_WIW_COUNTRY}</a></th>
<th class="info" style="text-align:center; width:25%; padding-left:5px; color:#536482;">{L_LOCATION}</a></th>
<th class="active" style="width:20%; padding-left:5px; color:#536482;">{L_WIW_ARRIVED}</a></th>
<th class="active" style="width:25%; padding-left:5px; color:#536482;">{L_WIW_BROWSER}</a></th>
</tr>
</thead>
<tbody id="who_is_where" style="font-size:10px; color:grey;">
</tbody>
</table>
<span class="corners-bottom"><span></span></span></div>
</div>
<div style="padding-top:3px;"> </div>
<!-- ENDIF -->
As you see, the code to find in prosilver index_body could not be founded in black pearls index_bodx.html.
Thanks in advance for helping!!
Cheers
Faethor
by faethor » 06 Sep 2012, 20:27
- 5 Replies
- 4639 Views
- Last post by 4seven
07 Sep 2012, 19:40
-
-
QR Post Links v.0.0.1 on Artoida Helion
I can't install this mod on Artoida Helion theme. When i'm editing files according to instruction my bbcode buttons don't works. Any of them. Please help me!
Could anybody write instruction for me how to install this on Artoida Helion phpBB 3.0.10/3.0.11! I really need this MOD!
Thanks for autor for his work! 
by Rogal » 04 Sep 2012, 06:16
- 6 Replies
- 5179 Views
- Last post by Rogal
04 Sep 2012, 21:48
-
-
First Topic [pic] on Forum Index zeigt letztes Bild an
Hey 4seven, naja ich würde schon gerne bei der App bleiben da sie sehr komfortabel in der Handhabung ist. Ich hoffe darauf, dass man den Bildupload per App unterbinden kann, ich habe dazu schon ein Thema im Supportforum von Tapatalk eröffnet. Mal sehen, ob das möglich ist. LG Tim
by Tim » 16 Aug 2012, 08:30
- 22 Replies
- 8098 Views
- Last post by Tim
29 Aug 2012, 09:04
-
-
[DEV] Timed Riddle
Sorry for late response. Of course you can get a beta package, when the code is finished. The first time after my ban on phpbb.com i thought, that i quit this phpbb stuff completely, but i changed my mind after some days. As result all my coding stuff will go a bit more smooth in future, bcs. i set new prioritys to my life.
by trigger_error » 20 Jun 2012, 16:31
- 6 Replies
- 7247 Views
- Last post by 4seven
20 Aug 2012, 16:57
-
-
First Topic on Forum Index - Style Absolution
Hallo liebe alle,
ich nutze den Style Absolution (http://www.phpbb.com/customise/db/style/absolution) und habe das Modul First Topic on Forum Index installiert.
Es funktioniert unter dem Style ProSilver einwandfrei, allerdings habe ich unter dem Style Absolution noch Darstellungsfehler.
Welche Anpassungen müssen für das Modul in der Datei /root/style/absolution/viewforum_body.html für diesen Style vorgenommen werden, damit die Darstellungsfehler beseitigt werden?
Ich habe drei Screenshot angehängt, die den Darstellungsfehler zeigen (bzw. Vergleich mit korrekter Darstellung).
absolution_error01.png
absolution_error02.png
absolution_error03.png
Link zur Webseite: www.tropheus-petrochromis.com
Login: Tester
Passwort: 123456
Danke für die Hilfe im Voraus! 
by xconnect » 16 Aug 2012, 00:14
- 6 Replies
- 3519 Views
- Last post by xconnect
18 Aug 2012, 14:05
-
-
First Topic on Forum Index - SQL Fehler in Foren ohne Bild
Hi@all,
ich habe das Modul "First Topic on Forum Index" installiert. Die Installation lief fehlerfrei. Daraufhin habe ich in der Datei "/root/includes/first_x_in_forum_index_config.php" folgende Einstellungen gemacht:
- Code: Select all
$function_mode = 'mix';
$width_or_height_img = 'mix';
$convert_max_size = 80;
$no_pic_img = 'no';
$no_img_placeholder = 'no';
$border_color = '#F6F4D0';
$active_4_search = 'yes';
$affected_forum_att = array(2,3,4,5,6,7,8,9,10,11,12,13,14,29,30,31,32,33,34,35,36,38,42,44,45,46,47,48,49,51,52,53,54,56,57,58,59,61,68);
$affected_forum_img = array(2,3,4,5,6,7,8,9,10,11,12,13,14,29,30,31,32,33,34,35,36,38,42,44,45,46,47,48,49,51,52,53,54,56,57,58,59,61,68);
Das Modul tut in allen Foren, die mindestens ein Bild in einem Beitrag haben, genau das was es soll, allerdings bekomme ich einen SQL-Fehler (im Anhang) sobald ich ein Unterforum aufrufe, in dem keine Bilder oder Dateianhänge in den Beiträgen sind.
Wie kann ich dieses Problem beheben?
Link: www.tropheus-petrochromis.com
Login: Tester
Passwort: 123456
by xconnect » 15 Aug 2012, 17:57
- 2 Replies
- 2172 Views
- Last post by xconnect
15 Aug 2012, 21:01
-
-
Post crash protection v. 0. 0. 2 and HotEditor ask adjustmen
Hi I have for my forum fit me with the HotEditor and would not work the MOD like to use, I have now made the code for the posting_button.html in the hoteditor.html template and the MOD.
What information if they would do it they need for this?
in my quick replay (original prosilver template) the MOD for me does not work unfortunately also.
by Shorty » 14 Aug 2012, 13:31
- 3 Replies
- 2828 Views
- Last post by 4seven
14 Aug 2012, 23:30
-
-
First Topic [pic] on Forum Index download
Hello,
Where can we download this mod now?
If I try to use the link in old phpbb.com topic, I can not access to the page where we usually could download it: "You are not authorised to read this forum."
Regards,
Inikad
by inikad » 13 Aug 2012, 12:02
- 2 Replies
- 2849 Views
- Last post by inikad
14 Aug 2012, 02:04
-
-
Easy Upload Manager
Hey 4seven, ich bin auf der Suche nach deinem Easy Upload Manager um den auch ins neue Forum einzubauen, leider finde ich die MOD aber nicht, gibt es die nicht mehr? LG Tim
by Tim » 17 Jul 2012, 07:52
- 2 Replies
- 1649 Views
- Last post by Tim
18 Jul 2012, 08:09
-
-
[DEV] Search User [img] and [attachment] Posts
Hallo Tim,
Öffne
search.php
Finde
- Code: Select all
AND p.post_text LIKE "%[img%]%[/img%]%"';
Ersetze mit
- Code: Select all
AND p.post_text LIKE "%[img%]%[/img%]%"
AND p.post_text NOT LIKE "%[quote%]%[img%]%[/img%]%[/quote%]%"';
Öffne
includes/search/fulltext_native.php
Finde
- Code: Select all
: ' AND p.post_text LIKE "%[img%]%[/img%]%"';}
Ersetze mit
- Code: Select all
: ' AND p.post_text LIKE "%[img%]%[/img%]%" AND p.post_text NOT LIKE "%[quote%]%[img%]%[/img%]%[/quote%]%"';}
Bedenke aber, das das Suchergebnis nun auch dann nicht angezeigt wird, wenn zu einem [img] Quote noch ein eigenes [img] (ohne Quote) im Text steht. Möchtest Du es doch 'mixed' haben, gibt es evtl. ein logisches Problem. Sollte aber hinzubekommen sein.
by Tim » 28 Jun 2012, 15:36
- 8 Replies
- 4067 Views
- Last post by Tim
04 Jul 2012, 17:03
-
-
[REQ] Add an icon to topic titles if there is an img / video
I don't know if I'm posting in the right section, but what I am asking is if there is any way to add an icon next to the topic title automatically if there is an img or video in the first post?
For example if there is a video in the first post of this topic I would like an icon to display like this:

But have a different icon if there is an img.
by iamthestreets » 02 Jul 2012, 17:29
- 3 Replies
- 3405 Views
- Last post by iamthestreets
02 Jul 2012, 20:20
-
-
[DEV] CPF Member Search
Hello trigger,
if a fix is available, i post it here.
by trigger_error » 20 Jun 2012, 16:39
- 1 Replies
- 1649 Views
- Last post by 4seven
20 Jun 2012, 20:32
Return to Board index
Users browsing this forum: No registered users and 5 guests
Forum permissions
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum