View Full Version : Mini Addon : View Forum whilst in Admin CP...
Chris M
06-24-2002, 10:00 PM
This isnt really a "hack" by normal standards, though you do have to edit a .php file, so it qualifies:):):)
Its more of an addon...
I am actually surprised that nobody has done this already, so...
Anyway : See my screenshot for more of an explanation, not that it really needs one...
Satan
Chris M
06-25-2002, 10:39 AM
Satan
Boofo
06-25-2002, 10:55 AM
I already did the same thing on my site and only added one line of code to the admin/index.php. :)
Xenon
06-25-2002, 04:51 PM
hehe seems to be the time where small long wanted hack become released :)
good idea mate, i think i can use it :)
Xenon
06-25-2002, 04:51 PM
hehe seems to be the time where small long wanted hack become released :)
good idea mate, i think i can use it :)
Velocd
06-25-2002, 05:08 PM
All you have to do is use a iframe...so, why even go through the trouble in making this a hack? oh well..
Admin
06-25-2002, 05:11 PM
Sweet hack, simple but cool. :)
scsa20
06-25-2002, 06:37 PM
is there a way to do this by making another frame from it?? and how?? see picture to give you a clue what I'm talking about (which can be forund here (http://www.simon-soft.com/images/how.jpg)). thanks
zachb
06-25-2002, 07:55 PM
Even though it is simple, I like it a lot. :) Good job.
Velocd
06-25-2002, 08:23 PM
Great addition hell satan! I have found it very useful once installed, although it would be much nicer if the frame was on the top and could be viewed in any page of the Admin CP.
I would have to say the most important page for this frame to be in is the templating page, so to obtain the frame just do this:
In admin/template.php, find:
function dotemplatejavascript() {
And above it place:
?>
<table width="100%" border="0" cellspacing="1" cellpadding="1">
<tr>
<td height="12">
<div align=center><iframe name="cwindow" style="border:0" width=800 height=400 src="http://localhost/forums/"></iframe>
</div></td>
</tr>
</table>
</td>
</tr>
</table>
<?php
;)
Chris M
06-26-2002, 08:45 AM
Thanks...I thought it would be a great little addition:)
@VeloCd - Yeh...That would be a good idea actually...You could also make it smaller, so that it looks much better:)
@scsa20 - That would require inserting an extra Frame into the Admin CP at the Bottom...I will explore that idea, as although it sounds easy, I bet, just to be different, it isnt:)
Satan
iAlex
07-10-2002, 01:57 PM
If you prefer the forum in the same frame as the main frame of the admin cp, it could hardly be easier to accomplish, pure html.. :D
[2.2.6] In admin/index.php find...
<td align="right"><b><a href="../index.php?s=<?php echo $session[sessionhash]; ?>" target="_blank">Go to your Forums Home Page</b></b></TD>
change to
<td align="right"><b><a href="../index.php?s=<?php echo $session[sessionhash]; ?>" target="main">Go to your Forums Home Page</b></b></TD>
Finally reload the top frame of your admin cp, the thin one that holds a link labeled "Go to your Forums Home Page", it now points to the frame beneath. :)
Mr. X
08-21-2002, 06:07 AM
Excellent thanks.
Red Blaze
02-10-2003, 05:35 PM
This is way past simple. Also it's my very first hack. :D I hope it will work very well for most of you.
Anywho, what this does is that it will add a link in the Admin CP that will let you view the forum and the admin CP will stay there.
I would think of this more of a mod than a hack, but I was told that any modification done to the admin Cp would be considered a hack. But, I'm new to all of this. ^^;;
NOTE: I did check everywhere for something like this and found nothing. So if there is already something like this. By all means, you can close this thread.
Thanks would go to Dr. Erwin Loh. With the vBftp I kinda figured out on my own how to play with it, and this was my result.
If there is anything wrong, and/or there is a downfall to this, please tell me. And if you use this, please click the install button. :D
EDIT: Sorry, I noticed it says version 2.2.8 It should work with any version... or which I hope. ^^;;
Red Blaze
02-10-2003, 05:37 PM
pic before clicking link.
Red Blaze
02-10-2003, 05:40 PM
and when you click the forum link.
Dean C
02-10-2003, 05:44 PM
Eek .bmp attachments....
- miSt
Red Blaze
02-10-2003, 05:46 PM
yeah, I'm not in my house at the moment, and the college computers don't let me save them as .jpg. -_-;
Xenon
02-10-2003, 05:48 PM
merged with a hack by hellsatan which already exists :)
Red Blaze
02-10-2003, 05:53 PM
The search thing failed me yet again. ^^;; I'm way past sorry.
Xenon
02-10-2003, 06:05 PM
no problem mate, that's why we are here ;)
Chris M
02-14-2003, 06:24 PM
Heh...Cool:)
Satan
mv540
08-25-2003, 07:41 PM
07-10-02 at 03:57 PM iAlex said this in Post #12 (https://vborg.vbsupport.ru/showthread.php?postid=271268#post271268)
If you prefer the forum in the same frame as the main frame of the admin cp, it could hardly be easier to accomplish, pure html.. :D
[2.2.6] In admin/index.php find...
<td align="right"><b><a href="../index.php?s=<?php echo $session[sessionhash]; ?>" target="_blank">Go to your Forums Home Page</b></b></TD>
change to
<td align="right"><b><a href="../index.php?s=<?php echo $session[sessionhash]; ?>" target="main">Go to your Forums Home Page</b></b></TD>
Finally reload the top frame of your admin cp, the thin one that holds a link labeled "Go to your Forums Home Page", it now points to the frame beneath. :)
these instructions were much easier thank you...
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.