The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Comments |
#32
|
|||
|
|||
Quote:
please help us to put it on the quick reply ...... thanks & best regards |
#33
|
||||
|
||||
This thread is a mess, and the author has not even posted here since april, so I am upping a fixed version of the instructions, with the changes mentioned in this thread by amykhar and melker, so people won't have to wade through the posts. If you follow the new install info it will install fine in to 3.0.7
|
#34
|
|||
|
|||
Quote:
:speechless: :speechless: :speechless: :speechless: but i am looking to install this hack on the quick reply can you do it yoyoyoyo ? |
#35
|
||||
|
||||
Quote:
Code:
// %%%%%%%%%%%%%%%%%%% fav smilie hacks by All-the-vb %%%%%%%%%%%%%%%%%%%% if ($_REQUEST['do']=="addtodata") { $uid = $bbuserinfo[userid]; $smilie=$_POST['smilies']; if(isset($smilie) and count($smilie)>0){ $smil=array(); foreach($smilie as $id_smilie) { array_push ($smil, $id_smilie); } $inimplode=implode(" ", $smil); $querf =$DB_site->query("UPDATE " . TABLE_PREFIX . "user SET smilie='$inimplode' WHERE userid='$uid'"); } else { $query =$DB_site->query("UPDATE " . TABLE_PREFIX . "user SET smilie=" . implode(",", $nabn) . " WHERE userid='$uid'"); } $url="index.php"; eval(print_standard_redirect('redirect_addfav')); } // %%%%%%%%%%%%%%%%%% fav smilie hacks by All-the-vb %%%%%%%%%%%%%%%%%%%% if ($_REQUEST['do']=="getfavsmilie") { $smilies = $DB_site->query(" SELECT smilietext AS text, smiliepath AS path, smilie.title, smilieid, imagecategory.title AS category FROM " . TABLE_PREFIX . "smilie AS smilie LEFT JOIN " . TABLE_PREFIX . "imagecategory AS imagecategory USING(imagecategoryid) ORDER BY imagecategory.displayorder, smilie.displayorder "); while ($smilie = $DB_site->fetch_array($smilies)) { $smcache["$smilie[smilieid]"][] = $smilie; } $popup_smiliesbits = ''; $bits = array(); exec_switch_bg(); foreach ($smcache AS $category => $smilies) { if (sizeof($bits) == 1) { eval('$popup_smiliesbits .= "' . fetch_template('vbcode_nnnn_smiliesbits') . '";'); } $bits = array(); foreach ($smilies AS $smilie) { $smilie['js'] = addslashes($smilie['text']); eval('$bits[] = "' . fetch_template('vbcode_nnnn_smiliesbits') . '";'); if (sizeof($bits) == 2) { exec_switch_bg(); $smiliecells = implode('', $bits); eval('$popup_smiliesbits .= "' . fetch_template('vbcode_nnnn_smiliesbits') . '";'); $bits = array(); } } } if (sizeof($bits) == 1) { eval('$popup_smiliesbits .= "' . fetch_template('vbcode_nnnn_smiliesbits') . '";'); } eval('print_output("' . fetch_template('vbcode_nnnn_smilies') . '");'); } Code:
unset($shutdownqueries['pmpopup']); eval('print_output("' . fetch_template('smiliepopup') . '");'); } |
#36
|
|||
|
|||
not done :disappointed:
|
#37
|
||||
|
||||
Quote:
Code:
[<a href="#" onclick="open_smilie_window(smiliewindow_x, smiliewindow_y, $wysiwyg, '$forumid'); return false" title="<phrase 1="$vboptions[smtotal]" 2="$totalsmilies">$vbphrase[showing_x_smilies_of_y_total]</phrase>">$vbphrase[more]</a>] the template you are looking for is showthread_quickreply Just look around in that template and try placing that code, or some variation where you need it. |
#38
|
|||
|
|||
i want to put a favorites smilies in quick reply
not the other smilies i wish you understand me thanks for your caring |
#39
|
||||
|
||||
Quote:
Code:
in misc.php also FIND: foreach ($smilies AS $smilie) { Can someone actually clean up the code and instructions? You could at least put both file edits for misc.php by each, or add them together as it look as the 2nd one is just under the original insert. It's not that hard... I just need to know where to post the F'in code. Can somebody please help!? |
#40
|
|||
|
|||
This is a very useful hack however it still need some fixes.
i have installed on 3.0.7 and have the same problem of Kali https://vborg.vbsupport.ru/showpost....8&postcount=21 Quote:
Thanks |
#41
|
||||
|
||||
Quote:
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|